]> 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:09:57 +0000 (11:09 -0800)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 19:09:57 +0000 (11:09 -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 a6831ff9d79b70dd1d4ecdf67c596c6305c70d1c..a1adf851bdded71faba43b2ea098fbfc080e806a 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`::