diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 13:53:41 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 13:53:41 (GMT) |
commit | 4c35964b764540988bfb342bffc7c4b1cb674031 (patch) | |
tree | aecd23f6cba96f1110bd90cc9fd774f17d6fa4ce /Python | |
parent | f0564164bab43f078c9f84f334d72ddb0e69110c (diff) | |
download | cpython-4c35964b764540988bfb342bffc7c4b1cb674031.zip cpython-4c35964b764540988bfb342bffc7c4b1cb674031.tar.gz cpython-4c35964b764540988bfb342bffc7c4b1cb674031.tar.bz2 |
Corrections for a/an in code comments and documentation
Diffstat (limited to 'Python')
-rw-r--r-- | Python/formatter_unicode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c index 056bb76..8e9c502 100644 --- a/Python/formatter_unicode.c +++ b/Python/formatter_unicode.c @@ -1042,7 +1042,7 @@ format_float_internal(PyObject *value, else if (type == 'r') type = 'g'; - /* 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, @@ -1221,7 +1221,7 @@ format_complex_internal(PyObject *value, else if (type == 'r') type = 'g'; - /* 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, |