Fix minor grammar error (GH-31325)

"an" followed by consonant should be "a"
(cherry picked from commit 0d29e7a06f)

Co-authored-by: Scott Noyes <snoyes@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-02-14 11:09:57 -08:00 committed by GitHub
parent a606c6a350
commit 5574cacf57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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`::