[Python-checkins] Fix minor grammar error (#31325)
Mariatta
webhook-mailer at python.org
Mon Feb 14 13:45:58 EST 2022
https://github.com/python/cpython/commit/0d29e7a06f98e8312b699d4531d27b76add1249f
commit: 0d29e7a06f98e8312b699d4531d27b76add1249f
branch: main
author: Scott Noyes <snoyes at gmail.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2022-02-14T10:45:48-08:00
summary:
Fix minor grammar error (#31325)
"an" followed by consonant should be "a"
files:
M Doc/faq/programming.rst
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index 154563a859e31..c156390d375e1 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -1819,7 +1819,7 @@ for ``None``. This reads like plain English in code and avoids confusion with
other objects that may have boolean values that evaluate to false.
2) Detecting optional arguments can be tricky when ``None`` is a valid input
-value. In those situations, you can create an singleton sentinel object
+value. In those situations, you can create a singleton sentinel object
guaranteed to be distinct from other objects. For example, here is how
to implement a method that behaves like :meth:`dict.pop`::
More information about the Python-checkins
mailing list