diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-18 03:57:31 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-18 03:57:31 (GMT) |
commit | bae5d81f5d1f388aad48c2ce1aee8682b157e1bd (patch) | |
tree | 5755103b2fc69d7beb51e425bfde6913a633a4d6 /Doc/library/functools.rst | |
parent | 886a5f352fd64bcdc814dad292bbb37739a1cdd9 (diff) | |
download | cpython-bae5d81f5d1f388aad48c2ce1aee8682b157e1bd.zip cpython-bae5d81f5d1f388aad48c2ce1aee8682b157e1bd.tar.gz cpython-bae5d81f5d1f388aad48c2ce1aee8682b157e1bd.tar.bz2 |
Issue #24314: Fix doc links for general attributes like __name__, __dict__
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r-- | Doc/library/functools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index abdd66f..127e3fa 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -474,7 +474,7 @@ have three read-only attributes: :class:`partial` objects are like :class:`function` objects in that they are callable, weak referencable, and can have attributes. There are some important -differences. For instance, the :attr:`__name__` and :attr:`__doc__` attributes +differences. For instance, the :attr:`~definition.__name__` and :attr:`__doc__` attributes are not created automatically. Also, :class:`partial` objects defined in classes behave like static methods and do not transform into bound methods during instance attribute look-up. |