Skip to content

Commit 793c4f5

Browse files
committed
fixup! [3.13] Bump pre-commit hooks (GH-144576) (cherry picked from commit e682141)
1 parent 702609b commit 793c4f5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tools/build/generate_token.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,13 @@ def make_rst(infile, outfile='Doc/library/token-list.inc',
277277
%s
278278
}
279279
280-
def ISTERMINAL(x: int) -> bool:
280+
def ISTERMINAL(x):
281281
return x < NT_OFFSET
282282
283-
def ISNONTERMINAL(x: int) -> bool:
283+
def ISNONTERMINAL(x):
284284
return x >= NT_OFFSET
285285
286-
def ISEOF(x: int) -> bool:
286+
def ISEOF(x):
287287
return x == ENDMARKER
288288
'''
289289

0 commit comments

Comments
 (0)