summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-30 09:52:44 (GMT)
committerGeorg Brandl <georg@python.org>2008-08-30 09:52:44 (GMT)
commitc176814d821e64722d1f40ac5cb882ab0c86fd72 (patch)
treecc10de7175d45fe70a8bba2c097bf1f2d8603244 /Doc/reference
parentcff0b46edc52736abb8aeea9ffcb35f8fed4e764 (diff)
downloadcpython-c176814d821e64722d1f40ac5cb882ab0c86fd72.zip
cpython-c176814d821e64722d1f40ac5cb882ab0c86fd72.tar.gz
cpython-c176814d821e64722d1f40ac5cb882ab0c86fd72.tar.bz2
#3716: fix typo.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 329bf16..21b307d 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1431,7 +1431,7 @@ access (use of, assignment to, or deletion of ``x.name``) for class instances.
Note that if the attribute is found through the normal mechanism,
:meth:`__getattr__` is not called. (This is an intentional asymmetry between
:meth:`__getattr__` and :meth:`__setattr__`.) This is done both for efficiency
- reasons and because otherwise :meth:`__setattr__` would have no way to access
+ 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
dictionary (but instead inserting them in another object). See the