From 3d54de2ab924a824e8d846a67db72648525438a8 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 7 Mar 1995 10:09:55 +0000 Subject: clarified code objects --- Doc/ref/ref3.tex | 6 +++--- Doc/ref3.tex | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 35b4ecfdba..0904849f8b 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 35b4ecfdba..0904849f8b 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 -- cgit v1.2.1