diff options
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 6d6022e..5d69911 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -363,7 +363,7 @@ PyFile_NewStdPrinter(int fd) { PyStdPrinter_Object *self; - if ((fd != fileno(stdout) && fd != fileno(stderr)) || fd < 0) { + if (fd != fileno(stdout) && fd != fileno(stderr)) { /* not enough infrastructure for PyErr_BadInternalCall() */ return NULL; } |