]> 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:09 +0000 (13:57 -0800)
committerGitHub <noreply@github.com>
Wed, 19 Jan 2022 21:57:09 +0000 (13:57 -0800)
commitd2b7e08d86874be7d4375a4994617ba8f068a65e
treec6fb550414370c42cc6dca4674545c92b2947d9d
parentc4fe0aa670480d887f1f736d1a4251234914b58c
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