classification
Title: inspect documentation on code attributes incomplete
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Information about CodeType in inspect documentation is outdated
View: 26985
Assigned To: docs@python Nosy List: Dutcho, docs@python, martin.panter
Priority: normal Keywords:

Created on 2017-04-11 07:51 by Dutcho, last changed 2017-04-11 08:27 by martin.panter. This issue is now closed.

Messages (2)
msg291464 - (view) Author: (Dutcho) Date: 2017-04-11 07:51
The table at the top of the inspect documentation (https://docs.python.org/3/library/inspect.html#types-and-members) omits co_cellvars, co_freevars, and co_kwonlyargcount attributes of type code

(note: the type's doc string does provide these attributes)
msg291465 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2017-04-11 08:27
Looks like a there is already a patch discussed at Issue 26985.
History
Date User Action Args
2017-04-11 08:27:16martin.pantersetstatus: open -> closed

superseder: Information about CodeType in inspect documentation is outdated

nosy: + martin.panter
messages: + msg291465
resolution: duplicate
stage: resolved
2017-04-11 07:51:50Dutchocreate