summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/consts.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-04-12 06:39:24 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-04-12 06:39:24 (GMT)
commit53ee2a94c70875b7b334ddca59900933409eaa63 (patch)
tree0e32ba261696f6917a6b515ac5b5995e6094ef23 /Lib/compiler/consts.py
parent0056a427bbe2b2a2abe7cb3c7c69f2d11adfc70c (diff)
downloadcpython-53ee2a94c70875b7b334ddca59900933409eaa63.zip
cpython-53ee2a94c70875b7b334ddca59900933409eaa63.tar.gz
cpython-53ee2a94c70875b7b334ddca59900933409eaa63.tar.bz2
Define constants for types of scopes
Diffstat (limited to 'Lib/compiler/consts.py')
-rw-r--r--Lib/compiler/consts.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/compiler/consts.py b/Lib/compiler/consts.py
index 3b256c1..ae3d18d 100644
--- a/Lib/compiler/consts.py
+++ b/Lib/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