Skip to content

Commit e50f786

Browse files
Update consts_getter.py
1 parent 55b55ce commit e50f786

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tools/build/consts_getter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
def get_nsmallnegints_and_nsmallposints() -> tuple[int, int]:
77
nsmallposints = None
88
nsmallnegints = None
9-
with open(os.path.join(INTERNAL, 'pycore_runtime_structs.h')) as infile:
9+
with open(INTERNAL / "pycore_runtime_structs.h") as infile:
1010
for line in infile:
11-
if line.startswith('#define _PY_NSMALLPOSINTS'):
11+
if line.startswith("#define _PY_NSMALLPOSINTS"):
1212
nsmallposints = int(line.split()[-1])
13-
elif line.startswith('#define _PY_NSMALLNEGINTS'):
13+
elif line.startswith("#define _PY_NSMALLNEGINTS"):
1414
nsmallnegints = int(line.split()[-1])
1515
break
1616
else:

0 commit comments

Comments
 (0)