MCPcopy Create free account
hub / github.com/EasyIME/PIME / _break_cycles

Method _break_cycles

python/python3/tornado/web.py:1182–1185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1180 return self.request.connection.detach() # type: ignore
1181
1182 def _break_cycles(self) -> None:
1183 # Break up a reference cycle between this handler and the
1184 # _ui_module closures to allow for faster GC on CPython.
1185 self.ui = None # type: ignore
1186
1187 def send_error(self, status_code: int = 500, **kwargs: Any) -> None:
1188 """Sends the given HTTP error code to the browser.

Callers 1

finishMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected