From aa9d2d6123a54dc1ed7f782fc935abcfadb54167 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 8 Feb 2000 18:57:51 +0000 Subject: [PATCH] constants from transformer --- Lib/compiler/consts.py | 9 +++++++++ Tools/compiler/compiler/consts.py | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 Lib/compiler/consts.py create mode 100644 Tools/compiler/compiler/consts.py diff --git a/Lib/compiler/consts.py b/Lib/compiler/consts.py new file mode 100644 index 00000000000..3b256c16f4b --- /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 00000000000..3b256c16f4b --- /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' +