MCPcopy
hub / github.com/tornadoweb/tornado / _check_closed

Method _check_closed

tornado/iostream.py:996–998  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

994 return b
995
996 def _check_closed(self) -> None:
997 if self.closed():
998 raise StreamClosedError(real_error=self.error)
999
1000 def _maybe_add_error_listener(self) -> None:
1001 # This method is part of an optimization: to detect a connection that

Callers 3

writeMethod · 0.95
_start_readMethod · 0.95
_try_inline_readMethod · 0.95

Calls 2

closedMethod · 0.95
StreamClosedErrorClass · 0.85

Tested by

no test coverage detected