diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-27 19:40:23 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-27 19:40:23 +0300 |
commit | 9927bb7a2e04addea58d3df36ca4ea47113b0192 (patch) | |
tree | 160059a15a0abf9fd1dcd7a445b25bac8dec3be3 /Objects/fileobject.c | |
parent | 7d3957d92d416e3f169be669c6ea2f8f8dbd5565 (diff) | |
download | cpython-9927bb7a2e04addea58d3df36ca4ea47113b0192.tar.gz |
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 3a31314086..98f42a9f34 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -186,9 +186,9 @@ PyFile_WriteString(const char *s, PyObject *f) } /* Try to get a file-descriptor from a Python object. If the object - is an integer or long integer, its value is returned. If not, the + is an integer, its value is returned. If not, the object's fileno() method is called if it exists; the method must return - an integer or long integer, which is returned as the file descriptor value. + an integer, which is returned as the file descriptor value. -1 is returned on failure. */ |