mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Fix typos mostly in comments, docs and test names (GH-15209)
This commit is contained in:
parent
15119bc2a7
commit
39d87b5471
46 changed files with 60 additions and 60 deletions
|
|
@ -899,7 +899,7 @@ stringio_setstate(stringio *self, PyObject *state)
|
|||
|
||||
/* Set carefully the position value. Alternatively, we could use the seek
|
||||
method instead of modifying self->pos directly to better protect the
|
||||
object internal state against errneous (or malicious) inputs. */
|
||||
object internal state against erroneous (or malicious) inputs. */
|
||||
position_obj = PyTuple_GET_ITEM(state, 2);
|
||||
if (!PyLong_Check(position_obj)) {
|
||||
PyErr_Format(PyExc_TypeError,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue