Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: docs@python -> ezio.melotti
nosy: +ezio.melotti
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
type: -> enhancement
___
Python tracke
Roundup Robot added the comment:
New changeset 64678369c4d0 by Ezio Melotti in branch 'default':
#18796: improve documentation of the file argument of dis.show_code. Initial
patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/64678369c4d0
--
nosy: +python-dev
_
New submission from Vajrasky Kok:
$ ./python
Python 3.4.0a1+ (default:afb1b4797419, Aug 21 2013, 09:54:46)
[GCC 4.7.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dis
>>> import sys
>>> def spam(x):
... return x * 2
...
>>> dis.show_code(spam, fi