[docs] [issue30951] Documentation error in inspect module
Alex Vig
report at bugs.python.org
Mon Jul 17 13:29:35 EDT 2017
New submission from Alex Vig:
The documentation for co_names in the inspect module is:
"tuple of names of local variables"
Local variable names are however in co_varnames while co_names contains global variable names. This description should read:
"tuple of names of global variables"
Relevant StackOverflow post here:
https://stackoverflow.com/q/45147260/1953800
----------
assignee: docs at python
components: Documentation
messages: 298545
nosy: Alex Vig, docs at python
priority: normal
severity: normal
status: open
title: Documentation error in inspect module
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30951>
_______________________________________
More information about the docs
mailing list