summaryrefslogtreecommitdiff
path: root/Include/compile.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-06-18 22:08:13 +0000
committerTim Peters <tim.peters@gmail.com>2001-06-18 22:08:13 +0000
commit5ca576ed0a0c697c7e7547adfd0b3af010fd2053 (patch)
tree0b0db361191363b3c168a6c105030f53e181d3e5 /Include/compile.h
parent1dad6a86de55c38da5c356c2c6d81be8ff7884b1 (diff)
downloadcpython-git-5ca576ed0a0c697c7e7547adfd0b3af010fd2053.tar.gz
Merging the gen-branch into the main line, at Guido's direction. Yay!
Bugfix candidate in inspect.py: it was referencing "self" outside of a method.
Diffstat (limited to 'Include/compile.h')
-rw-r--r--Include/compile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/compile.h b/Include/compile.h
index e60af59edb..74b068d3fd 100644
--- a/Include/compile.h
+++ b/Include/compile.h
@@ -33,6 +33,7 @@ typedef struct {
#define CO_VARARGS 0x0004
#define CO_VARKEYWORDS 0x0008
#define CO_NESTED 0x0010
+#define CO_GENERATOR 0x0020
extern DL_IMPORT(PyTypeObject) PyCode_Type;