gh-144694: Fix re.Match.group() doc claiming [1..99] range limit by mohsinm-dev · Pull Request #144696 · python/cpython
The documentation incorrectly stated that numeric group arguments must be in the range [1..99]. This limit was removed in Python 3.5 (bpo-22437). Replace with "a positive integer" since the next sentence already documents the IndexError for out-of-range values.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Feb 21, 2026pythonGH-144696) The documentation incorrectly stated that numeric group arguments must be in the range [1..99]. This limit was removed in Python 3.5 (bpo-22437). Replace with "a positive integer" since the next sentence already documents the IndexError for out-of-range values. (cherry picked from commit 85021bc) Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Feb 21, 2026pythonGH-144696) The documentation incorrectly stated that numeric group arguments must be in the range [1..99]. This limit was removed in Python 3.5 (bpo-22437). Replace with "a positive integer" since the next sentence already documents the IndexError for out-of-range values. (cherry picked from commit 85021bc) Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
JelleZijlstra pushed a commit that referenced this pull request
Feb 21, 2026…it (GH-144696) (#145065) gh-144694: Fix re.Match.group() doc claiming [1..99] range limit (GH-144696) The documentation incorrectly stated that numeric group arguments must be in the range [1..99]. This limit was removed in Python 3.5 (bpo-22437). Replace with "a positive integer" since the next sentence already documents the IndexError for out-of-range values. (cherry picked from commit 85021bc) Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
JelleZijlstra pushed a commit that referenced this pull request
Feb 21, 2026…it (GH-144696) (#145066) gh-144694: Fix re.Match.group() doc claiming [1..99] range limit (GH-144696) The documentation incorrectly stated that numeric group arguments must be in the range [1..99]. This limit was removed in Python 3.5 (bpo-22437). Replace with "a positive integer" since the next sentence already documents the IndexError for out-of-range values. (cherry picked from commit 85021bc) Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request
Feb 28, 2026python#144696) The documentation incorrectly stated that numeric group arguments must be in the range [1..99]. This limit was removed in Python 3.5 (bpo-22437). Replace with "a positive integer" since the next sentence already documents the IndexError for out-of-range values.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters