summaryrefslogtreecommitdiffstats
path: root/Doc/howto/descriptor.rst
diff options
context:
space:
mode:
authorbasak <robie@justgohome.co.uk>2020-11-25 14:12:17 (GMT)
committerGitHub <noreply@github.com>2020-11-25 14:12:17 (GMT)
commit9d09e1719ce9dea1c97f06dd5f181daed928d6cd (patch)
tree161c1c7ba5f3d381811de355f3e6a1f5470d0b34 /Doc/howto/descriptor.rst
parentc13d89955d9a2942c6355d6839d7096323244136 (diff)
downloadcpython-9d09e1719ce9dea1c97f06dd5f181daed928d6cd.zip
cpython-9d09e1719ce9dea1c97f06dd5f181daed928d6cd.tar.gz
cpython-9d09e1719ce9dea1c97f06dd5f181daed928d6cd.tar.bz2
Typo: fix inverted sense of statement (GH-23288)
Looks like a "not" was inadvertently omitted in commit e6a7ea4. Classmethods are useful when data stored in specific instances are *not* needed. Automerge-Triggered-By: GH:JulienPalard
Diffstat (limited to 'Doc/howto/descriptor.rst')
-rw-r--r--Doc/howto/descriptor.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst
index bc741c7..ab5a573 100644
--- a/Doc/howto/descriptor.rst
+++ b/Doc/howto/descriptor.rst
@@ -1225,7 +1225,7 @@ for whether the caller is an object or a class:
('F', 3)
This behavior is useful whenever the method only needs to have a class
-reference and does rely on data stored in a specific instance. One use for
+reference and does not rely on data stored in a specific instance. One use for
class methods is to create alternate class constructors. For example, the
classmethod :func:`dict.fromkeys` creates a new dictionary from a list of
keys. The pure Python equivalent is: