Skip to content

Commit bc63a17

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 5b33424 commit bc63a17

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
@@ -1883,7 +1883,7 @@ successive matches::
18831883

18841884
class Token(NamedTuple):
18851885
type: str
1886-
value: str
1886+
value: int | float | str
18871887
line: int
18881888
column: int
18891889

0 commit comments

Comments
 (0)