summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-18 08:20:22 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-18 08:20:22 (GMT)
commit2fec611a70ba862a4127b7656a6d98d48850c3af (patch)
treee8d3470232edc34a9e7adbe609f261150cc08b0c /Doc/tutorial
parentd91e676fd58a25420a3dc8705472dc6bf9ca46e2 (diff)
parentbae5d81f5d1f388aad48c2ce1aee8682b157e1bd (diff)
downloadcpython-2fec611a70ba862a4127b7656a6d98d48850c3af.zip
cpython-2fec611a70ba862a4127b7656a6d98d48850c3af.tar.gz
cpython-2fec611a70ba862a4127b7656a6d98d48850c3af.tar.bz2
Issue #24314: Merge doc links from 3.5
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/classes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 2489d75..03b77e0 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -951,8 +951,8 @@ Examples::
.. rubric:: Footnotes
.. [#] Except for one thing. Module objects have a secret read-only attribute called
- :attr:`__dict__` which returns the dictionary used to implement the module's
- namespace; the name :attr:`__dict__` is an attribute but not a global name.
+ :attr:`~object.__dict__` which returns the dictionary used to implement the module's
+ namespace; the name :attr:`~object.__dict__` is an attribute but not a global name.
Obviously, using this violates the abstraction of namespace implementation, and
should be restricted to things like post-mortem debuggers.