[Python-checkins] Typo: fix inverted sense of statement (GH-23288) (GH-23512)
rhettinger
webhook-mailer at python.org
Wed Nov 25 15:14:53 EST 2020
https://github.com/python/cpython/commit/dca61e770d6c423a183325b7a3708b8aae9e062d
commit: dca61e770d6c423a183325b7a3708b8aae9e062d
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2020年11月25日T12:14:32-08:00
summary:
Typo: fix inverted sense of statement (GH-23288) (GH-23512)
files:
M Doc/howto/descriptor.rst
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst
index bc741c738b98d..ab5a573c6a06d 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:
More information about the Python-checkins
mailing list