]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-8264: Document hasattr and getattr behavior for private attributes (GH-23513...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 May 2021 11:06:46 +0000 (04:06 -0700)
committerGitHub <noreply@github.com>
Sat, 22 May 2021 11:06:46 +0000 (12:06 +0100)
commit11b5045b0ce18fee8cc1023cc516aeb14ebf7bda
treebdd83cf26cdb955336d2408e117e710468958df4
parenta373c8081148bf564512f00fb6106026f4ac72f8
bpo-8264: Document hasattr and getattr behavior for private attributes (GH-23513) (GH-26238)

Clarify ``getattr`` and ``setattr`` requirements for accessing name-mangled attributes

Co-Authored-By: Catalin Iacob <iacobcatalin@gmail.com>
(cherry picked from commit 2edaf6a4fb7e20324dde1423232f07211347f092)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Doc/library/functions.rst
Doc/reference/expressions.rst