From de366415c661473badc36ab8021041ddfc6065aa Mon Sep 17 00:00:00 2001 From: Vikash Kumar <163628932+Vikash-Kumar-23@users.noreply.github.com> Date: Thu, 23 Apr 2026 08:10:10 +0530 Subject: [PATCH] gh-145194: Fix typing in re tokenizer example (GH-145198) (cherry picked from commit bd7352d8071dc00531f2c527977602729f2d3ec6) Co-authored-by: Vikash Kumar <163628932+Vikash-Kumar-23@users.noreply.github.com> --- Doc/library/re.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index efebc819ddaf7c..8f45a4f51c4a57 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -1880,7 +1880,7 @@ successive matches:: class Token(NamedTuple): type: str - value: str + value: int | float | str line: int column: int