mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Merge typo fixes from 3.5
This commit is contained in:
commit
1ce738e08f
18 changed files with 26 additions and 26 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue