From bd7352d8071dc00531f2c527977602729f2d3ec6 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 (#145198) --- 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 6ed285c4b11..a46fd424581 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -1953,7 +1953,7 @@ successive matches:: class Token(NamedTuple): type: str - value: str + value: int | float | str line: int column: int