You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't these return int | None and bytes | None? A FileIO is non-blocking mode can return None from these methods, yes?
The text was updated successfully, but these errors were encountered:
dcolascione
changed the title
Shouldn't FileIO indicate None for return of read/write?
Shouldn't FileIO indicate None as possible return of read/write?
Sep 21, 2024
Typeshed currently has these declarations in
io.pyi
forFileIO
.Shouldn't these return
int | None
andbytes | None
? AFileIO
is non-blocking mode can returnNone
from these methods, yes?The text was updated successfully, but these errors were encountered: