commit | 940f33a50f3877cbde7adb59ba6e1a0a0acd3d11 | [log] [tgz] |
---|---|---|
author | Steve Dower <steve.dower@microsoft.com> | Thu Sep 08 11:21:54 2016 -0700 |
committer | Steve Dower <steve.dower@microsoft.com> | Thu Sep 08 11:21:54 2016 -0700 |
tree | 7a326f041f1187cdbd6622e7eb97ceb2af6c0d44 | |
parent | dee6e252cc59c3143786f3e4cfaa1a6c335381b6 [diff] [blame] |
Issue #23524: Finish removing _PyVerify_fd from sources
diff --git a/Parser/myreadline.c b/Parser/myreadline.c index 28c7b6d..9522c79 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c
@@ -41,10 +41,7 @@ (void)(PyOS_InputHook)(); errno = 0; clearerr(fp); - if (_PyVerify_fd(fileno(fp))) - p = fgets(buf, len, fp); - else - p = NULL; + p = fgets(buf, len, fp); if (p != NULL) return 0; /* No error */ err = errno;