]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix minor grammar error (GH-31325)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 Feb 2022 19:10:38 +0000 (11:10 -0800)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 19:10:38 +0000 (11:10 -0800)
"an" followed by consonant should be "a"
(cherry picked from commit 0d29e7a06f98e8312b699d4531d27b76add1249f)

Co-authored-by: Scott Noyes <snoyes@gmail.com>
Doc/faq/programming.rst

index d838e6141f8d4bace9c40708e05506def24cefb5..3cf041e1a4230e7c8dba2059ef49daa22e9cdc47 100644 (file)
@@ -1820,7 +1820,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`::