Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d54de2

Browse files
committed
clarified code objects
1 parent 46f2157 commit 3d54de2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/ref/ref3.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,11 @@ \section{The standard type hierarchy} \label{types}
495495
\begin{description}
496496

497497
\item[Code objects]
498-
Code objects represent executable code. The difference between a code
498+
Code objects represent ``pseudo-compiled'' executable Python code.
499+
The difference between a code
499500
object and a function object is that the function object contains an
500501
explicit reference to the function's context (the module in which it
501-
was defined) while a code object contains no context. There is no way
502-
to execute a bare code object.
502+
was defined) while a code object contains no context.
503503
\obindex{code}
504504

505505
Special read-only attributes: \verb@co_code@ is a string representing

Doc/ref3.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,11 @@ \section{The standard type hierarchy} \label{types}
495495
\begin{description}
496496

497497
\item[Code objects]
498-
Code objects represent executable code. The difference between a code
498+
Code objects represent ``pseudo-compiled'' executable Python code.
499+
The difference between a code
499500
object and a function object is that the function object contains an
500501
explicit reference to the function's context (the module in which it
501-
was defined) while a code object contains no context. There is no way
502-
to execute a bare code object.
502+
was defined) while a code object contains no context.
503503
\obindex{code}
504504

505505
Special read-only attributes: \verb@co_code@ is a string representing

0 commit comments

Comments
 (0)