]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101860: Expose __name__ on property (GH-101876)
authorEugene Toder <eltoder@users.noreply.github.com>
Tue, 20 Feb 2024 15:14:34 +0000 (10:14 -0500)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2024 15:14:34 +0000 (17:14 +0200)
commitc0b0c2f2015fb27db4306109b2b3781eb2057c2b
tree49b34e2f7d762b0abeb3c09e508c8e2fd9255c08
parent9af80ec83d1647a472331bd1333a7fa9108fe98e
gh-101860: Expose __name__ on property (GH-101876)

Useful for introspection and consistent with functions and other
descriptors.
Doc/howto/descriptor.rst
Lib/inspect.py
Lib/pydoc.py
Lib/test/test_inspect/inspect_fodder.py
Lib/test/test_property.py
Lib/test/test_pydoc/test_pydoc.py
Misc/NEWS.d/next/Core and Builtins/2023-02-13-11-36-50.gh-issue-101860.CKCMbC.rst [new file with mode: 0644]
Objects/descrobject.c