[docs] little mistake in documentation of dis.opmap in the dis module

Georg Brandl georg at python.org
Sun Oct 17 13:28:54 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 28.09.2010 00:11, schrieb Alexander Behringer:
> Hello,
> 
> I think I have discovered a little mistake in the documentation of the 
> disassembler module. There it says [1, 2, 3]:
> 
>> dis.opmap
>>      Dictionary mapping bytecodes to operation names.
> 
> But for me it looks more like a mapping of operation names to bytecodes.
> 
> [1] http://docs.python.org/library/dis.html#dis.opmap
> [2] http://docs.python.org/py3k/library/dis.html#dis.opmap
> [3] http://docs.python.org/dev/py3k/library/dis.html#dis.opmap

Hi Alexander,

thanks for the report; this is now fixed in the development docs.

regards,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAky63fYACgkQN9GcIYhpnLAdMQCeI5PiU2bPIds3rFJ2KjL4ICwj
5zcAnRE2LBtAUsSdnIwvUV5T20+rwwFG
=P/8v
-----END PGP SIGNATURE-----


More information about the docs mailing list