diff options
author | Riahiamirreza <54557628+Riahiamirreza@users.noreply.github.com> | 2023-07-10 11:52:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 11:52:41 (GMT) |
commit | 43389e4a3a15daaa2c4ea7059637e2fce3f38966 (patch) | |
tree | 38c80ebcd27f56500e41685553e3fe94263efb96 | |
parent | abe4ca5ecf3abb6ad72ba18ed732a0bc3f158335 (diff) | |
download | cpython-43389e4a3a15daaa2c4ea7059637e2fce3f38966.zip cpython-43389e4a3a15daaa2c4ea7059637e2fce3f38966.tar.gz cpython-43389e4a3a15daaa2c4ea7059637e2fce3f38966.tar.bz2 |
Fix typo in datamodel.rst (#106587)
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 7f5edbb..8a10a34 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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. |