[issue25990] Pydoc fails on Python file with nonlocal

R. David Murray report at bugs.python.org
Fri Jan 1 21:23:27 EST 2016


R. David Murray added the comment:

Are you sure you are running pydoc using python3?  That error looks like you are running it using python2, as does the command line you show (since on most systems the pydoc command comes from python2).  (I don't know what you mean by "source file can be..."; nonlocal is python3 only.)

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25990>
_______________________________________


More information about the Python-bugs-list mailing list