summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2018-02-05 02:03:22 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2018-02-05 02:03:22 (GMT)
commitd1f318105b8781b01f3507d5cb0fd841b977d5f2 (patch)
treea6e99b5ab1183095acd89ced108e2836c2ebaa53 /Misc/NEWS.d/next
parent05e806767b857b1eab838e712828e3a7d57cabf1 (diff)
downloadcpython-d1f318105b8781b01f3507d5cb0fd841b977d5f2.zip
cpython-d1f318105b8781b01f3507d5cb0fd841b977d5f2.tar.gz
cpython-d1f318105b8781b01f3507d5cb0fd841b977d5f2.tar.bz2
bpo-8722: Document __getattr__ behavior with AttributeError in property (GH-4754)
When `__getattr__` is implemented, attribute lookup will always fall back to that, even if the initial failure comes from `__getattribute__` or a descriptor's `__get__` method (including property methods).
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-02-03-06-11-37.bpo-8722.MPyVyj.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2018-02-03-06-11-37.bpo-8722.MPyVyj.rst b/Misc/NEWS.d/next/Documentation/2018-02-03-06-11-37.bpo-8722.MPyVyj.rst
new file mode 100644
index 0000000..36e6ff7
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2018-02-03-06-11-37.bpo-8722.MPyVyj.rst
@@ -0,0 +1,2 @@
+Document :meth:`__getattr__` behavior when property :meth:`get` method
+raises :exc:`AttributeError`.