Skip to content

Commit 5c3402d

Browse files
committed
Update Python inlined files: 3.12.7 (2.4.3)
1 parent 59a17a9 commit 5c3402d

29 files changed

+29
-19
lines changed

graalpython/lib-python/3/lib2to3/pgen2/token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
tok_name = {}
7474
for _name, _value in list(globals().items()):
75-
if type(_value) is type(0):
75+
if isinstance(_value, int):
7676
tok_name[_value] = _name
7777

7878

0 commit comments

Comments
 (0)