summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-02-08 18:57:51 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-02-08 18:57:51 (GMT)
commitaa9d2d6123a54dc1ed7f782fc935abcfadb54167 (patch)
treec449e10e8988001a9ca7e3eebdeb4740ffa26f5e
parent9605c11c4c3127e3b1749eb4f65b80e9e7db0d8e (diff)
downloadcpython-aa9d2d6123a54dc1ed7f782fc935abcfadb54167.zip
cpython-aa9d2d6123a54dc1ed7f782fc935abcfadb54167.tar.gz
cpython-aa9d2d6123a54dc1ed7f782fc935abcfadb54167.tar.bz2
constants from transformer
-rw-r--r--Lib/compiler/consts.py9
-rw-r--r--Tools/compiler/compiler/consts.py9
2 files changed, 18 insertions, 0 deletions
diff --git a/Lib/compiler/consts.py b/Lib/compiler/consts.py
new file mode 100644
index 0000000..3b256c1
--- /dev/null
+++ b/Lib/compiler/consts.py
@@ -0,0 +1,9 @@
+# code flags
+CO_VARARGS = 1
+CO_VARKEYWORDS = 2
+
+# operation flags
+OP_ASSIGN = 'OP_ASSIGN'
+OP_DELETE = 'OP_DELETE'
+OP_APPLY = 'OP_APPLY'
+
diff --git a/Tools/compiler/compiler/consts.py b/Tools/compiler/compiler/consts.py
new file mode 100644
index 0000000..3b256c1
--- /dev/null
+++ b/Tools/compiler/compiler/consts.py
@@ -0,0 +1,9 @@
+# code flags
+CO_VARARGS = 1
+CO_VARKEYWORDS = 2
+
+# operation flags
+OP_ASSIGN = 'OP_ASSIGN'
+OP_DELETE = 'OP_DELETE'
+OP_APPLY = 'OP_APPLY'
+