]> granicus.if.org Git - python/commitdiff
constants from transformer
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 8 Feb 2000 18:57:51 +0000 (18:57 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 8 Feb 2000 18:57:51 +0000 (18:57 +0000)
Lib/compiler/consts.py [new file with mode: 0644]
Tools/compiler/compiler/consts.py [new file with mode: 0644]

diff --git a/Lib/compiler/consts.py b/Lib/compiler/consts.py
new file mode 100644 (file)
index 0000000..3b256c1
--- /dev/null
@@ -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 (file)
index 0000000..3b256c1
--- /dev/null
@@ -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'
+