Skip to content

Commit 0bd2d58

Browse files
Fix minor grammar error (GH-31325)
"an" followed by consonant should be "a" (cherry picked from commit 0d29e7a) Co-authored-by: Scott Noyes <[email protected]>
1 parent 0b1417d commit 0bd2d58

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
@@ -1820,7 +1820,7 @@ for ``None``. This reads like plain English in code and avoids confusion with
18201820
other objects that may have boolean values that evaluate to false.
18211821

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

0 commit comments

Comments
 (0)