From 0d29e7a06f98e8312b699d4531d27b76add1249f Mon Sep 17 00:00:00 2001 From: Scott Noyes Date: Mon, 14 Feb 2022 12:45:48 -0600 Subject: Fix minor grammar error (#31325) "an" followed by consonant should be "a" --- Doc/faq/programming.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index 154563a..c156390 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`:: -- cgit v0.12