summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-17 05:32:47 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-17 05:32:47 (GMT)
commit6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d (patch)
tree69e2dda76d29c6ac33906e0ad2e1359c5bc8e0e4 /Objects/stringlib
parent50dd1f7dd68ed2f526adfebd5caa342e26da4517 (diff)
downloadcpython-6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d.zip
cpython-6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d.tar.gz
cpython-6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d.tar.bz2
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Diffstat (limited to 'Objects/stringlib')
-rw-r--r--Objects/stringlib/unicode_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/unicode_format.h b/Objects/stringlib/unicode_format.h
index aec221a..be09b5f 100644
--- a/Objects/stringlib/unicode_format.h
+++ b/Objects/stringlib/unicode_format.h
@@ -1226,7 +1226,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