Skip to content

Commit 0d29e7a

Browse files
authored
Fix minor grammar error (#31325)
"an" followed by consonant should be "a"
1 parent 3b799d7 commit 0d29e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ for ``None``. This reads like plain English in code and avoids confusion with
18191819
other objects that may have boolean values that evaluate to false.
18201820

18211821
2) Detecting optional arguments can be tricky when ``None`` is a valid input
1822-
value. In those situations, you can create an singleton sentinel object
1822+
value. In those situations, you can create a singleton sentinel object
18231823
guaranteed to be distinct from other objects. For example, here is how
18241824
to implement a method that behaves like :meth:`dict.pop`::
18251825

0 commit comments

Comments
 (0)