Closed
Description
There was a small bug in this PR earlier this year to create a protocol for TextIOBuffer
_WrappedBuffer
#11420
See here:
Line 171 in a21c4bc
isatty
should return bool
.
Notice isatty
on IOBase
is a bool:
Line 63 in a21c4bc
And literally every other occurrence of isatty
in every other type stub is a bool
too.
Looks like the mistake came from this comment because that comment incorrectly lists isatty
as int
too.