[Python-checkins] r66063 - python/trunk/Doc/reference/datamodel.rst
georg.brandl
python-checkins at python.org
Sat Aug 30 11:52:44 CEST 2008
Author: georg.brandl
Date: Sat Aug 30 11:52:44 2008
New Revision: 66063
Log:
#3716: fix typo.
Modified:
python/trunk/Doc/reference/datamodel.rst
Modified: python/trunk/Doc/reference/datamodel.rst
==============================================================================
--- python/trunk/Doc/reference/datamodel.rst (original)
+++ python/trunk/Doc/reference/datamodel.rst Sat Aug 30 11:52:44 2008
@@ -1431,7 +1431,7 @@
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
More information about the Python-checkins
mailing list