summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-07 10:09:55 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-07 10:09:55 (GMT)
commit3d54de2ab924a824e8d846a67db72648525438a8 (patch)
tree8f27ab76c3a0ebf1772ee47bb6713498c8e95072 /Doc/ref
parent46f2157279f33316d8a4dc06988104a44cf2f8ec (diff)
downloadcpython-3d54de2ab924a824e8d846a67db72648525438a8.zip
cpython-3d54de2ab924a824e8d846a67db72648525438a8.tar.gz
cpython-3d54de2ab924a824e8d846a67db72648525438a8.tar.bz2
clarified code objects
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref3.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex
index 35b4ecf..0904849 100644
--- a/Doc/ref/ref3.tex
+++ b/Doc/ref/ref3.tex
@@ -495,11 +495,11 @@ but they are mentioned here for completeness.
\begin{description}
\item[Code objects]
-Code objects represent executable code. The difference between a code
+Code objects represent ``pseudo-compiled'' executable Python code.
+The difference between a code
object and a function object is that the function object contains an
explicit reference to the function's context (the module in which it
-was defined) while a code object contains no context. There is no way
-to execute a bare code object.
+was defined) while a code object contains no context.
\obindex{code}
Special read-only attributes: \verb@co_code@ is a string representing