summaryrefslogtreecommitdiff
path: root/Include/code.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-02-25 15:43:10 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-02-25 15:43:10 +0000
commitab51f5f24d6f6edef5e8fac5e31b2e4ac0cbdbac (patch)
tree038506090aedd7ce81a52cf7c481b0633746fb36 /Include/code.h
parentdf95cb6ae31d381aaed4f41f73c9b9a2569f2640 (diff)
downloadcpython-git-ab51f5f24d6f6edef5e8fac5e31b2e4ac0cbdbac.tar.gz
Per discussion on python-dev, remove CO_GENERATOR_ALLOWED. Leave comment about not removing yet.
Diffstat (limited to 'Include/code.h')
-rw-r--r--Include/code.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Include/code.h b/Include/code.h
index 1c8fbb36bd..7dd13fe5da 100644
--- a/Include/code.h
+++ b/Include/code.h
@@ -40,7 +40,10 @@ typedef struct {
*/
#define CO_NOFREE 0x0040
-#define CO_GENERATOR_ALLOWED 0x1000 /* no longer used in an essential way */
+#if 0
+/* This is no longer used. Stopped defining in 2.5, do not re-use. */
+#define CO_GENERATOR_ALLOWED 0x1000
+#endif
#define CO_FUTURE_DIVISION 0x2000
#define CO_MAXBLOCKS 20 /* Max static block nesting within a function */