From ef414b3b89ed6b342fd361daa1dc0b4995fb0470 Mon Sep 17 00:00:00 2001 From: Vikash Kumar Date: Wed, 25 Feb 2026 06:41:38 +0530 Subject: [PATCH] Fix typing in re tokenizer example --- 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 7edb85ca507722..5bb8f287e324da 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -1933,7 +1933,7 @@ successive matches:: class Token(NamedTuple): type: str - value: str + value: int | float | str line: int column: int