summaryrefslogtreecommitdiffstats
path: root/Doc/reference/datamodel.rst
diff options
context:
space:
mode:
authorTommy Beadle <tbeadle@gmail.com>2016-06-02 23:26:51 (GMT)
committerTommy Beadle <tbeadle@gmail.com>2016-06-02 23:26:51 (GMT)
commite9b8403a1f5c4ecd199d1f0a03a49b6684a6b707 (patch)
tree984ca50a480ada47f3e84d6786b42b3c407c24d3 /Doc/reference/datamodel.rst
parenta6f6edbda8648698289a8ee7abef6a35c924151b (diff)
downloadcpython-e9b8403a1f5c4ecd199d1f0a03a49b6684a6b707.zip
cpython-e9b8403a1f5c4ecd199d1f0a03a49b6684a6b707.tar.gz
cpython-e9b8403a1f5c4ecd199d1f0a03a49b6684a6b707.tar.bz2
[Issue 15476] Make "code object" its own entry in the index
Diffstat (limited to 'Doc/reference/datamodel.rst')
-rw-r--r--Doc/reference/datamodel.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 493acaa..71d695f 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -846,11 +846,9 @@ Internal types
definitions may change with future versions of the interpreter, but they are
mentioned here for completeness.
- Code objects
- .. index::
- single: bytecode
- object: code
+ .. index:: bytecode, object; code, code object
+ Code objects
Code objects represent *byte-compiled* executable Python code, or :term:`bytecode`.
The difference between a code object and a function object is that the function
object contains an explicit reference to the function's globals (the module in