diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-02-17 08:14:30 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-02-17 08:14:30 (GMT) |
commit | 483405bcca9f371bc6910dda7f9b5ba74395682c (patch) | |
tree | 3afeb1990bf2ab9d24fdea4409317a08a97af7eb /Modules/_io | |
parent | 77c041ba64f87ac021c2a7a9314d9a3a1145057f (diff) | |
download | cpython-483405bcca9f371bc6910dda7f9b5ba74395682c.zip cpython-483405bcca9f371bc6910dda7f9b5ba74395682c.tar.gz cpython-483405bcca9f371bc6910dda7f9b5ba74395682c.tar.bz2 |
Issue #22883: Got rid of outdated references to PyInt and PyString in comments.
Diffstat (limited to 'Modules/_io')
-rw-r--r-- | Modules/_io/_iomodule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/_iomodule.h b/Modules/_io/_iomodule.h index 8927864..9d5205e 100644 --- a/Modules/_io/_iomodule.h +++ b/Modules/_io/_iomodule.h @@ -69,7 +69,7 @@ extern int _PyIO_trap_eintr(void); * Offset type for positioning. */ -/* Printing a variable of type off_t (with e.g., PyString_FromFormat) +/* Printing a variable of type off_t (with e.g., PyUnicode_FromFormat) correctly and without producing compiler warnings is surprisingly painful. We identify an integer type whose size matches off_t and then: (1) cast the off_t to that integer type and (2) use the appropriate conversion |