diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2016-06-18 08:20:22 +0000 |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-18 08:20:22 +0000 |
| commit | 2fec611a70ba862a4127b7656a6d98d48850c3af (patch) | |
| tree | e8d3470232edc34a9e7adbe609f261150cc08b0c /Doc/tutorial | |
| parent | d91e676fd58a25420a3dc8705472dc6bf9ca46e2 (diff) | |
| parent | bae5d81f5d1f388aad48c2ce1aee8682b157e1bd (diff) | |
| download | cpython-git-2fec611a70ba862a4127b7656a6d98d48850c3af.tar.gz | |
Issue #24314: Merge doc links from 3.5
Diffstat (limited to 'Doc/tutorial')
| -rw-r--r-- | Doc/tutorial/classes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 2489d75b16..03b77e0775 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. |
