mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
Merge doc and comment fixes from 3.5
This commit is contained in:
commit
abe4d52a1a
11 changed files with 15 additions and 15 deletions
|
|
@ -913,8 +913,8 @@ stringio_setstate(stringio *self, PyObject *state)
|
|||
Py_DECREF(initarg);
|
||||
|
||||
/* Restore the buffer state. Even if __init__ did initialize the buffer,
|
||||
we have to initialize it again since __init__ may translates the
|
||||
newlines in the inital_value string. We clearly do not want that
|
||||
we have to initialize it again since __init__ may translate the
|
||||
newlines in the initial_value string. We clearly do not want that
|
||||
because the string value in the state tuple has already been translated
|
||||
once by __init__. So we do not take any chance and replace object's
|
||||
buffer completely. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue