summaryrefslogtreecommitdiff
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-08 13:53:41 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-05-08 13:53:41 +0000
commitef80696069ea12246883e998ffa450eba6f95d68 (patch)
treec003b8d7753a89c7c7ba1761b5f2fd1f653b23e2 /Python/formatter_unicode.c
parentdad4633169d12a527f9e1ddc814d824c9d5eac35 (diff)
downloadcpython-ef80696069ea12246883e998ffa450eba6f95d68.tar.gz
Corrections for a/an in code comments and documentation
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r--Python/formatter_unicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index 056bb76902..8e9c502754 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,