summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-27 19:40:23 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-27 19:40:23 +0300
commit9927bb7a2e04addea58d3df36ca4ea47113b0192 (patch)
tree160059a15a0abf9fd1dcd7a445b25bac8dec3be3 /Objects/fileobject.c
parent7d3957d92d416e3f169be669c6ea2f8f8dbd5565 (diff)
downloadcpython-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.c4
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.
*/