Skip to content

Commit bd7352d

Browse files
gh-145194: Fix typing in re tokenizer example (#145198)
1 parent 8e43f3d commit bd7352d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/re.rst

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

19541954
class Token(NamedTuple):
19551955
type: str
1956-
value: str
1956+
value: int | float | str
19571957
line: int
19581958
column: int
19591959

0 commit comments

Comments
 (0)