summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorScott Noyes <snoyes@gmail.com>2022-02-14 18:45:48 (GMT)
committerGitHub <noreply@github.com>2022-02-14 18:45:48 (GMT)
commit0d29e7a06f98e8312b699d4531d27b76add1249f (patch)
treed927ac759cf31950d41c04aeea4419dd7d5b8b0a /Doc
parent3b799d7448588d28de09ef9e3cc30c72c17db334 (diff)
downloadcpython-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.rst2
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`::