summaryrefslogtreecommitdiff
path: root/Include/frameobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-05-25 09:38:27 +0000
committerGuido van Rossum <guido@python.org>1993-05-25 09:38:27 +0000
commitd0272a90332c992afa84226152b184900b601b00 (patch)
tree0bf472843c53e070651dfb981f46b26ef20b6a3a /Include/frameobject.h
parenta3a3d3df4cd776759ab93567b565a05879e4d2d7 (diff)
downloadcpython-d0272a90332c992afa84226152b184900b601b00.tar.gz
* classobject.c: in instance_getattr, don't make a method out of a
function found as instance data. * socketmodule.c: added 'flags' argument sendto/recvfrom, rewrite argument parsing in send/recv. * More changes related to access (terminology change: owner instead of class; allow any object as owner; local/global variables are owned by their dictionary, only class/instance data is owned by the class; "from...import *" now only imports objects with public access; etc.)
Diffstat (limited to 'Include/frameobject.h')
-rw-r--r--Include/frameobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/frameobject.h b/Include/frameobject.h
index 2056e0628c..c514de2c6f 100644
--- a/Include/frameobject.h
+++ b/Include/frameobject.h
@@ -36,7 +36,7 @@ typedef struct _frame {
codeobject *f_code; /* code segment */
object *f_globals; /* global symbol table (dictobject) */
object *f_locals; /* local symbol table (dictobject) */
- object *f_class; /* class context (classobject or NULL) */
+ object *f_owner; /* owner (e.g. class or module) or NULL */
object *f_fastlocals; /* fast local variables (listobject) */
object *f_localmap; /* local variable names (dictobject) */
object **f_valuestack; /* malloc'ed array */