summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-17 06:37:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-17 06:37:36 (GMT)
commit9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f (patch)
tree4878492acdcc033c71d4be46967537291d433cb1 /Objects/stringlib
parent0bb165ecc114fcf7ce1df454355c4cbbef8b63e9 (diff)
downloadcpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.zip
cpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.tar.gz
cpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.tar.bz2
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Diffstat (limited to 'Objects/stringlib')
-rw-r--r--Objects/stringlib/string_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/string_format.h b/Objects/stringlib/string_format.h
index 965e1ad..2bd1839 100644
--- a/Objects/stringlib/string_format.h
+++ b/Objects/stringlib/string_format.h
@@ -1310,7 +1310,7 @@ static PyTypeObject PyFieldNameIter_Type = {
0};
/* unicode_formatter_field_name_split is used to implement
- string.Formatter.vformat. it takes an PEP 3101 "field name", and
+ string.Formatter.vformat. it takes a PEP 3101 "field name", and
returns a tuple of (first, rest): "first", the part before the
first '.' or '['; and "rest", an iterator for the rest of the field
name. it's a wrapper around stringlib/string_format.h's