]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
docs: correct outdated MappingProxyType docstrings (GH-30281)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 19 Jan 2022 21:57:30 +0000 (13:57 -0800)
committerGitHub <noreply@github.com>
Wed, 19 Jan 2022 21:57:30 +0000 (13:57 -0800)
commit54feddae8832f24f1ca8ebd1f21a19d6aec4b3fd
treedd58de35a5020d33144af69d826dab7eafcff66f
parent00645166b64e68001a425a15281a1ccdcb78f818
docs: correct outdated MappingProxyType docstrings (GH-30281)

The docstrings for MappingProxyType's keys(), values(), and items()
methods were never updated to reflect the changes that Python 3 brought
to these APIs, namely returning views rather than lists.
(cherry picked from commit 2d10fa9bc4cf83c5e5dd73decc9a138d6d247374)

Co-authored-by: Joshua Bronson <jabronson@gmail.com>
Objects/descrobject.c