We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
asyncio.StreamReader.exception
1 parent a58999c commit 1424067Copy full SHA for 1424067
1 file changed
stdlib/asyncio/streams.pyi
@@ -106,7 +106,7 @@ class StreamWriter:
106
107
class StreamReader:
108
def __init__(self, limit: int = 65536, loop: events.AbstractEventLoop | None = None) -> None: ...
109
- def exception(self) -> Exception: ...
+ def exception(self) -> Exception | None: ...
110
def set_exception(self, exc: Exception) -> None: ...
111
def set_transport(self, transport: transports.BaseTransport) -> None: ...
112
def feed_eof(self) -> None: ...
0 commit comments