From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 23 Apr 2026 02:45:46 +0000 (+0200) Subject: [3.14] gh-145194: Fix typing in re tokenizer example (GH-145198) (#148897) X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=3c71d3654e285ec84391b34266d0175e294a222c;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-145194: Fix typing in re tokenizer example (GH-145198) (#148897) (cherry picked from commit bd7352d8071dc00531f2c527977602729f2d3ec6) Co-authored-by: Vikash Kumar <163628932+Vikash-Kumar-23@users.noreply.github.com> --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 6ee52c6927d9..5b8d9cdc671a 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -1883,7 +1883,7 @@ successive matches:: class Token(NamedTuple): type: str - value: str + value: int | float | str line: int column: int