mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix minor grammar error (#31325)
"an" followed by consonant should be "a"
This commit is contained in:
parent
3b799d7448
commit
0d29e7a06f
1 changed files with 1 additions and 1 deletions
|
@ -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`::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue