diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-04-12 06:39:24 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-04-12 06:39:24 (GMT) |
commit | 53ee2a94c70875b7b334ddca59900933409eaa63 (patch) | |
tree | 0e32ba261696f6917a6b515ac5b5995e6094ef23 /Tools | |
parent | 0056a427bbe2b2a2abe7cb3c7c69f2d11adfc70c (diff) | |
download | cpython-53ee2a94c70875b7b334ddca59900933409eaa63.zip cpython-53ee2a94c70875b7b334ddca59900933409eaa63.tar.gz cpython-53ee2a94c70875b7b334ddca59900933409eaa63.tar.bz2 |
Define constants for types of scopes
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/compiler/compiler/consts.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/compiler/compiler/consts.py b/Tools/compiler/compiler/consts.py index 3b256c1..ae3d18d 100644 --- a/Tools/compiler/compiler/consts.py +++ b/Tools/compiler/compiler/consts.py @@ -7,3 +7,8 @@ OP_ASSIGN = 'OP_ASSIGN' OP_DELETE = 'OP_DELETE' OP_APPLY = 'OP_APPLY' +SC_LOCAL = 1 +SC_GLOBAL = 2 +SC_FREE = 3 +SC_CELL = 4 +SC_UNKNOWN = 5 |