diff options
Diffstat (limited to 'Lib/compiler/transformer.py')
-rw-r--r-- | Lib/compiler/transformer.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py index 9200f7a..42d34dc 100644 --- a/Lib/compiler/transformer.py +++ b/Lib/compiler/transformer.py @@ -99,14 +99,8 @@ import pprint error = 'walker.error' -# code flags -CO_VARARGS = 1 -CO_VARKEYWORDS = 2 - -# operation flags -OP_ASSIGN = 'OP_ASSIGN' -OP_DELETE = 'OP_DELETE' -OP_APPLY = 'OP_APPLY' +from consts import CO_VARARGS, CO_VARKEYWORDS +from consts import OP_ASSIGN, OP_DELETE, OP_APPLY def asList(nodes): l = [] |