[issue30037] inspect documentation on code attributes incomplete

2017-04-11 Thread Martin Panter
Martin Panter added the comment: Looks like a there is already a patch discussed at Issue 26985. -- nosy: +martin.panter resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Information about CodeType in inspect documentation is outdated _

[issue30037] inspect documentation on code attributes incomplete

2017-04-11 Thread Dutcho
New submission from Dutcho: 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) --