gh-90102: Fix pyio _isatty_open_only() (#125089)
Spotted by @ngnpope. `isatty` returns False to indicate the file is not a TTY. The C implementation of _io does that (`Py_RETURN_FALSE`) but I got the bool backwards in the _pyio implementaiton.
C
Cody Maloney committed
43ad3b51707f51ae4b434e2b5950d2c8bf7cca6e
Parent: e4292c0
Committed by GitHub <noreply@github.com>
on 10/8/2024, 11:49:50 AM