Skip to content

Commit de36641

Browse files
Vikash-Kumar-23miss-islington
authored andcommitted
pythongh-145194: Fix typing in re tokenizer example (pythonGH-145198)
(cherry picked from commit bd7352d8071dc00531f2c527977602729f2d3ec6) Co-authored-by: Vikash Kumar <163628932+Vikash-Kumar-23@users.noreply.github.com>
1 parent 1b2301c commit de36641

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
@@ -1880,7 +1880,7 @@ successive matches::
18801880

18811881
class Token(NamedTuple):
18821882
type: str
1883-
value: str
1883+
value: int | float | str
18841884
line: int
18851885
column: int
18861886

0 commit comments

Comments
 (0)