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

Alexander Behringer development at alexander-behringer-online.de
Tue Sep 28 00:11:11 CEST 2010


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

Sincerely,
Alexander


More information about the docs mailing list