[New-bugs-announce] [issue35165] Possible wrong method name in attribute references doc

Denis Osipov report at bugs.python.org
Sun Nov 4 12:43:20 EST 2018


New submission from Denis Osipov <osipov_d at list.ru>:

6.3.1. Attribute references says:

"The primary must evaluate to an object of a type that supports attribute references, which most objects do. This object is then asked to produce the attribute whose name is the identifier. This production can be customized by overriding the __getattr__() method. If this attribute is not available, the exception AttributeError is raised."

It seems that __getattribute__ method is meaning.

----------
assignee: docs at python
components: Documentation
messages: 329245
nosy: denis-osipov, docs at python
priority: normal
severity: normal
status: open
title: Possible wrong method name in attribute references doc
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35165>
_______________________________________


More information about the New-bugs-announce mailing list