From: Vikash Kumar <163628932+Vikash-Kumar-23@users.noreply.github.com> Date: Thu, 23 Apr 2026 02:40:10 +0000 (+0530) Subject: gh-145194: Fix typing in re tokenizer example (#145198) X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=bd7352d8071dc00531f2c527977602729f2d3ec6;p=thirdparty%2FPython%2Fcpython.git gh-145194: Fix typing in re tokenizer example (#145198) --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 6ed285c4b112..a46fd4245815 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