From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 3 Jan 2024 12:57:05 +0000 (+0100) Subject: [3.12] `functools.partial` docs: Use the more common spelling for "referenceable... X-Git-Tag: v3.12.2~230 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c267901289404ddb731806778e1aee4806d926b5;p=thirdparty%2FPython%2Fcpython.git [3.12] `functools.partial` docs: Use the more common spelling for "referenceable" (GH-113675) (#113677) `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 <5621605+rodrigogiraoserrao@users.noreply.github.com> --- diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index f736eb0aca1a..f28fc8499139 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -740,7 +740,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