]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
clarified code objects
authorGuido van Rossum <guido@python.org>
Tue, 7 Mar 1995 10:09:55 +0000 (10:09 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Mar 1995 10:09:55 +0000 (10:09 +0000)
Doc/ref/ref3.tex
Doc/ref3.tex

index 35b4ecfdba170d10515f4e98dbc6e5510f12b6ea..0904849f8b8edf4fd8a206fae9c064bfd0205b8b 100644 (file)
@@ -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
index 35b4ecfdba170d10515f4e98dbc6e5510f12b6ea..0904849f8b8edf4fd8a206fae9c064bfd0205b8b 100644 (file)
@@ -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