diff options
author | Guido van Rossum <guido@python.org> | 1995-03-07 10:09:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-07 10:09:55 (GMT) |
commit | 3d54de2ab924a824e8d846a67db72648525438a8 (patch) | |
tree | 8f27ab76c3a0ebf1772ee47bb6713498c8e95072 /Doc | |
parent | 46f2157279f33316d8a4dc06988104a44cf2f8ec (diff) | |
download | cpython-3d54de2ab924a824e8d846a67db72648525438a8.zip cpython-3d54de2ab924a824e8d846a67db72648525438a8.tar.gz cpython-3d54de2ab924a824e8d846a67db72648525438a8.tar.bz2 |
clarified code objects
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ref/ref3.tex | 6 | ||||
-rw-r--r-- | Doc/ref3.tex | 6 |
2 files changed, 6 insertions, 6 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 diff --git a/Doc/ref3.tex b/Doc/ref3.tex index 35b4ecf..0904849 100644 --- a/Doc/ref3.tex +++ b/Doc/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 |