diff options
author | Scott Noyes <snoyes@gmail.com> | 2022-02-14 18:45:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 18:45:48 (GMT) |
commit | 0d29e7a06f98e8312b699d4531d27b76add1249f (patch) | |
tree | d927ac759cf31950d41c04aeea4419dd7d5b8b0a /Doc | |
parent | 3b799d7448588d28de09ef9e3cc30c72c17db334 (diff) | |
download | cpython-0d29e7a06f98e8312b699d4531d27b76add1249f.zip cpython-0d29e7a06f98e8312b699d4531d27b76add1249f.tar.gz cpython-0d29e7a06f98e8312b699d4531d27b76add1249f.tar.bz2 |
Fix minor grammar error (#31325)
"an" followed by consonant should be "a"
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/faq/programming.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index 154563a..c156390 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -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`:: |