Fix minor grammar error (#31325)

"an" followed by consonant should be "a"
This commit is contained in:
Scott Noyes 2022-02-14 12:45:48 -06:00 committed by GitHub
parent 3b799d7448
commit 0d29e7a06f
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. other objects that may have boolean values that evaluate to false.
2) Detecting optional arguments can be tricky when ``None`` is a valid input 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 guaranteed to be distinct from other objects. For example, here is how
to implement a method that behaves like :meth:`dict.pop`:: to implement a method that behaves like :meth:`dict.pop`::