mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Issue 2117. Update compiler module to handle class decorators.
Thanks Thomas Herve
This commit is contained in:
parent
a3c8c10201
commit
4219da4bd0
4 changed files with 21 additions and 4 deletions
|
@ -71,6 +71,7 @@ tok_name = {}
|
|||
for _name, _value in globals().items():
|
||||
if type(_value) is type(0):
|
||||
tok_name[_value] = _name
|
||||
del _name, _value
|
||||
|
||||
|
||||
def ISTERMINAL(x):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue