]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145870: Fix Format.SOURCE reference in get_annotations docstring (#145889)
authorwavebyrd <160968744+wavebyrd@users.noreply.github.com>
Mon, 16 Mar 2026 19:25:31 +0000 (15:25 -0400)
committerGitHub <noreply@github.com>
Mon, 16 Mar 2026 19:25:31 +0000 (12:25 -0700)
commit2a0fa500f82fc160feb726c0631f58c9a2f76796
treedf45ba632be73b125886e5db532abf70b4a4664a
parentae1b3074330b8eefada470fd921b05664e6646f6
gh-145870: Fix Format.SOURCE reference in get_annotations docstring (#145889)

The get_annotations() docstring incorrectly referred to the SOURCE
format, which was renamed to STRING during PEP 749 development.

Co-authored-by: Carson Jones <carson@Carsons-MacBook-Pro.local>
Lib/annotationlib.py