diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-27 20:17:03 +0300 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-27 20:17:03 +0300 |
| commit | 46e1ce214b5711e8dae63a1b5a0a7aafb371baf0 (patch) | |
| tree | 0230554f5bd4df8804946f5bb0634cefdbbbd2ae /Objects/fileobject.c | |
| parent | 14e461d5b92000ec4e89182fa25ab0d5b5b31234 (diff) | |
| parent | 9594942716a8f9c557b85d31751753d89cd7cebf (diff) | |
| download | cpython-git-46e1ce214b5711e8dae63a1b5a0a7aafb371baf0.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 e0c5bfef55..f273b0b44b 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. */ |
