diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 13:45:55 (GMT) |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 13:45:55 (GMT) |
| commit | 4f23cabc16027f0b6474ac8c0c1782ec5605e63b (patch) | |
| tree | 8df6bff62fc3979049d5bcacead5330313305321 /Objects/stringlib/formatter.h | |
| parent | f2f1c57b7e4dcd418c278dd45161a5de65bc05d3 (diff) | |
| download | cpython-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.h | 4 |
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, |
