From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 23 Apr 2026 02:46:31 +0000 (+0200) Subject: [3.13] gh-145194: Fix typing in re tokenizer example (GH-145198) (#148898) X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a52c8cbbf542b5af9ee35a38f607201cb093d593;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-145194: Fix typing in re tokenizer example (GH-145198) (#148898) (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 efebc819ddaf..8f45a4f51c4a 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