From: Scott Noyes Date: Mon, 14 Feb 2022 18:45:48 +0000 (-0600) Subject: Fix minor grammar error (#31325) X-Git-Tag: v3.11.0a6~215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d29e7a06f98e8312b699d4531d27b76add1249f;p=thirdparty%2FPython%2Fcpython.git Fix minor grammar error (#31325) "an" followed by consonant should be "a" --- diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index 154563a859e3..c156390d375e 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`::