[Python-checkins] Fix minor grammar error (GH-31325)
miss-islington
webhook-mailer at python.org
Mon Feb 14 14:10:02 EST 2022
https://github.com/python/cpython/commit/5574cacf5727764c462f9f37cc30e68a3dacbaa5
commit: 5574cacf5727764c462f9f37cc30e68a3dacbaa5
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-02-14T11:09:57-08:00
summary:
Fix minor grammar error (GH-31325)
"an" followed by consonant should be "a"
(cherry picked from commit 0d29e7a06f98e8312b699d4531d27b76add1249f)
Co-authored-by: Scott Noyes <snoyes at gmail.com>
files:
M Doc/faq/programming.rst
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index a6831ff9d79b7..a1adf851bdded 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