https://github.com/python/cpython/commit/3a9bf03ac9a9c403a0b71af4b8ea97147d9b4dc4 commit: 3a9bf03ac9a9c403a0b71af4b8ea97147d9b4dc4 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: AlexWaygood <[email protected]> date: 2024-01-03T13:19:49Z summary:
[3.11] `functools.partial` docs: Use the more common spelling for "referenceable" (GH-113675) (#113678) `functools.partial` docs: Use the more common spelling for "referenceable" (GH-113675) (cherry picked from commit 4de468cce106221968d7ac08ddd94571b903c194) Co-authored-by: Rodrigo Girão Serrão <[email protected]> files: M Doc/library/functools.rst diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index 9dadbb69fc2f24..11bd891f410276 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -725,7 +725,7 @@ have three read-only attributes: called. :class:`partial` objects are like :class:`function` objects in that they are -callable, weak referencable, and can have attributes. There are some important +callable, weak referenceable, and can have attributes. There are some important 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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
