summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-08 14:02:35 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-08 14:02:35 (GMT)
commit1ce738e08f147beb724f22a9411724a955cd418d (patch)
tree9c2b84d7b81d1117159dd791094994d96094077e /Python
parentcc22984d9e5e5357212db2eb1841f93e75fe75f5 (diff)
parent4c35964b764540988bfb342bffc7c4b1cb674031 (diff)
downloadcpython-1ce738e08f147beb724f22a9411724a955cd418d.zip
cpython-1ce738e08f147beb724f22a9411724a955cd418d.tar.gz
cpython-1ce738e08f147beb724f22a9411724a955cd418d.tar.bz2
Merge typo fixes from 3.5
Diffstat (limited to 'Python')
-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 a428fbe..d573288 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,