Skip to content

Commit ef414b3

Browse files
Fix typing in re tokenizer example
1 parent 4e45c9c commit ef414b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/re.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,7 @@ successive matches::
19331933

19341934
class Token(NamedTuple):
19351935
type: str
1936-
value: str
1936+
value: int | float | str
19371937
line: int
19381938
column: int
19391939

0 commit comments

Comments
 (0)