From 53ee2a94c70875b7b334ddca59900933409eaa63 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Thu, 12 Apr 2001 06:39:24 +0000 Subject: Define constants for types of scopes --- Lib/compiler/consts.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Lib/compiler/consts.py') diff --git a/Lib/compiler/consts.py b/Lib/compiler/consts.py index 3b256c16f4..ae3d18d35d 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 -- cgit v1.2.1