summaryrefslogtreecommitdiffstats
path: root/Include/symtable.h
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-02-28 23:03:39 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-02-28 23:03:39 (GMT)
commit99858b53fc47c98d04357e6a1c0aa5634a443415 (patch)
tree90490bcafdbcad00c01030700ea217f3c3011804 /Include/symtable.h
parent7840a9cb99b6fb963bd87d4771a4c219fef069f8 (diff)
downloadcpython-99858b53fc47c98d04357e6a1c0aa5634a443415.zip
cpython-99858b53fc47c98d04357e6a1c0aa5634a443415.tar.gz
cpython-99858b53fc47c98d04357e6a1c0aa5634a443415.tar.bz2
add DEF_BOUND
Diffstat (limited to 'Include/symtable.h')
-rw-r--r--Include/symtable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/symtable.h b/Include/symtable.h
index 7d1e0c3..6c4f284 100644
--- a/Include/symtable.h
+++ b/Include/symtable.h
@@ -71,11 +71,13 @@ DL_IMPORT(void) PySymtable_Free(struct symtable *);
#define DEF_STAR 2<<3 /* parameter is star arg */
#define DEF_DOUBLESTAR 2<<4 /* parameter is star-star arg */
#define DEF_INTUPLE 2<<5 /* name defined in tuple in parameters */
-#define DEF_FREE 2<<6 /* name used by not defined in nested scope */
+#define DEF_FREE 2<<6 /* name used but not defined in nested scope */
#define DEF_FREE_GLOBAL 2<<7 /* free variable is actually implicit global */
#define DEF_FREE_CLASS 2<<8 /* free variable from class's method */
#define DEF_IMPORT 2<<9 /* assignment occurred via import */
+#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
+
#define TYPE_FUNCTION 1
#define TYPE_CLASS 2
#define TYPE_MODULE 3