[docs] [issue15476] Index "code object" and link to code object definition

Martin Panter report at bugs.python.org
Fri Jun 3 19:35:07 EDT 2016


Martin Panter added the comment:

Not sure why it doesn’t come up in the code review, but in

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index c0b4930..f34ba9f 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -847,8 +847,10 @@ Internal types

    Code objects
+
       .. index::
          single: bytecode
+         single: code object
          object: code
 
       Code objects represent *byte-compiled* executable Python code, or :term:`bytecode`.

that added blank line seems to also cause the same definition list problem as before :(

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15476>
_______________________________________


More information about the docs mailing list