summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/formatter.h
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-08 13:45:55 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-08 13:45:55 (GMT)
commit4f23cabc16027f0b6474ac8c0c1782ec5605e63b (patch)
tree8df6bff62fc3979049d5bcacead5330313305321 /Objects/stringlib/formatter.h
parentf2f1c57b7e4dcd418c278dd45161a5de65bc05d3 (diff)
downloadcpython-4f23cabc16027f0b6474ac8c0c1782ec5605e63b.zip
cpython-4f23cabc16027f0b6474ac8c0c1782ec5605e63b.tar.gz
cpython-4f23cabc16027f0b6474ac8c0c1782ec5605e63b.tar.bz2
Corrections for a/an in code comments and documentation
Diffstat (limited to 'Objects/stringlib/formatter.h')
-rw-r--r--Objects/stringlib/formatter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h
index b75755e..1ac6277 100644
--- a/Objects/stringlib/formatter.h
+++ b/Objects/stringlib/formatter.h
@@ -995,7 +995,7 @@ format_float_internal(PyObject *value,
if (precision < 0)
precision = default_precision;
- /* Cast "type", because if we're in unicode we need to pass a
+ /* Cast "type", because if we're in unicode we need to pass an
8-bit char. This is safe, because we've restricted what "type"
can be. */
buf = PyOS_double_to_string(val, (char)type, precision, flags,
@@ -1175,7 +1175,7 @@ format_complex_internal(PyObject *value,
if (precision < 0)
precision = default_precision;
- /* Cast "type", because if we're in unicode we need to pass a
+ /* Cast "type", because if we're in unicode we need to pass an
8-bit char. This is safe, because we've restricted what "type"
can be. */
re_buf = PyOS_double_to_string(re, (char)type, precision, flags,