summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pydoc/test_pydoc.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-02-17 13:04:09 (GMT)
committerGitHub <noreply@github.com>2024-02-17 13:04:09 (GMT)
commita086dd313e4c79d8bdcaf7c49fd48306e769fce0 (patch)
treeddcfd7f8cbc4a958438932bde80c8d89c24eea08 /Lib/test/test_pydoc/test_pydoc.py
parent3991db062e8df2ebcf22d25e37157da7678889a1 (diff)
downloadcpython-a086dd313e4c79d8bdcaf7c49fd48306e769fce0.zip
cpython-a086dd313e4c79d8bdcaf7c49fd48306e769fce0.tar.gz
cpython-a086dd313e4c79d8bdcaf7c49fd48306e769fce0.tar.bz2
[3.12] gh-101699: Explain using Match.expand with \g<0> (GH-101701) (GH-115583)
Update documentation for re library to explain that a backreference `\g<0>` is expanded to the entire string when using Match.expand(). Note that numeric backreferences to group 0 (`\0`) are not supported. (cherry picked from commit d2d78088530433f475d9304104bbc0dac2536edd) Co-authored-by: Stevoisiak <S.Vascellaro@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_pydoc/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions