]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix minor grammar error (#31325)
authorScott Noyes <snoyes@gmail.com>
Mon, 14 Feb 2022 18:45:48 +0000 (12:45 -0600)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 18:45:48 +0000 (10:45 -0800)
"an" followed by consonant should be "a"

Doc/faq/programming.rst

index 154563a859e31bd591ee0522777f5c6c68df5a2a..c156390d375e10332e69f5d98b82825805827e28 100644 (file)
@@ -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`::