Terry J. Reedy added the comment: There is no entry for 'code object' (unlike, for instance 'class object'). There is an entry for 'code' and a subentry for 'object' with four links.
The fourth link is to the short definition in the library manual: https://docs.python.org/3/library/stdtypes.html#index-46 https://docs.python.org/3/library/stdtypes.html#code-objects is better as it includes the header line. This is the one that should be used elsewhere. The entry says "See The standard type hierarchy for more information." The third link is to the long definition in the datamodel section. https://docs.python.org/3/reference/datamodel.html#index-53 Again, the header line is cut off. I presume this is because the index directive is after rather than before the header line. I think the short definition should point directly here. The second link is to code objects in the C-API https://docs.python.org/3/c-api/code.html#index-0 The first link is to marshal, because marshal marshals code objects. In other words, the unlabeled links are in the reverse order of what one would want. More helpful would be something like code object C-API definition marshal ---------- title: Add "code object" to glossary -> Index "code object" and link to code object definition _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15476> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com