TextIOBuffer _WrappedBuffer
attr isatty
should be bool
#12437
Labels
_WrappedBuffer
attr isatty
should be bool
#12437
There was a small bug in this PR earlier this year to create a protocol for
TextIOBuffer
_WrappedBuffer
#11420
See here:
typeshed/stdlib/io.pyi
Line 171 in a21c4bc
isatty
should returnbool
.Notice
isatty
onIOBase
is a bool:typeshed/stdlib/io.pyi
Line 63 in a21c4bc
And literally every other occurrence of
isatty
in every other type stub is abool
too.Looks like the mistake came from this comment because that comment incorrectly lists
isatty
asint
too.The text was updated successfully, but these errors were encountered: