mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Define constants for types of scopes
This commit is contained in:
parent
0056a427bb
commit
53ee2a94c7
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue