mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix typo in datamodel.rst (#106587)
This commit is contained in:
parent
abe4ca5ecf
commit
43389e4a3a
1 changed files with 1 additions and 1 deletions
|
|
@ -1625,7 +1625,7 @@ access (use of, assignment to, or deletion of ``x.name``) for class instances.
|
|||
:meth:`__getattr__` and :meth:`__setattr__`.) This is done both for efficiency
|
||||
reasons and because otherwise :meth:`__getattr__` would have no way to access
|
||||
other attributes of the instance. Note that at least for instance variables,
|
||||
you can fake total control by not inserting any values in the instance attribute
|
||||
you can take total control by not inserting any values in the instance attribute
|
||||
dictionary (but instead inserting them in another object). See the
|
||||
:meth:`__getattribute__` method below for a way to actually get total control
|
||||
over attribute access.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue