diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-08 11:21:54 -0700 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-08 11:21:54 -0700 |
commit | 0b262da03401df836e0d2cd8b20412aeeaec6af8 (patch) | |
tree | d0d4bf84fec6e81f246ca770d5736fdd03ead916 /Python/pylifecycle.c | |
parent | 2f466180b9a69f87bcaed052dd55ba0b5ecdee9c (diff) | |
download | cpython-0b262da03401df836e0d2cd8b20412aeeaec6af8.tar.gz |
Issue #23524: Finish removing _PyVerify_fd from sources
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 3f3b614a47..dab5c3c1ab 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1026,7 +1026,7 @@ static int is_valid_fd(int fd) { int fd2; - if (fd < 0 || !_PyVerify_fd(fd)) + if (fd < 0) return 0; _Py_BEGIN_SUPPRESS_IPH /* Prefer dup() over fstat(). fstat() can require input/output whereas |