This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jalexvig
Recipients docs@python, jalexvig
Date 2017-07-17.17:29:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500312575.69.0.52467451771.issue30951@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-07-17 17:29:35jalexvigsetrecipients: + jalexvig, docs@python
2017-07-17 17:29:35jalexvigsetmessageid: <1500312575.69.0.52467451771.issue30951@psf.upfronthosting.co.za>
2017-07-17 17:29:35jalexviglinkissue30951 messages
2017-07-17 17:29:35jalexvigcreate