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

Method clear_instance

python/python3/tornado/ioloop.py:214–227  ·  view source on GitHub ↗

Deprecated alias for `clear_current()`. .. versionchanged:: 5.0 Previously, this method would clear the `IOLoop` used as the global singleton by `IOLoop.instance()`. Now that `instance()` is an alias for `current()`, `clear_instance()` is an alia

()

Source from the content-addressed store, hash-verified

212
213 @staticmethod
214 def clear_instance() -> None:
215 """Deprecated alias for `clear_current()`.
216
217 .. versionchanged:: 5.0
218
219 Previously, this method would clear the `IOLoop` used as
220 the global singleton by `IOLoop.instance()`. Now that
221 `instance()` is an alias for `current()`,
222 `clear_instance()` is an alias for `clear_current()`.
223
224 .. deprecated:: 5.0
225
226 """
227 IOLoop.clear_current()
228
229 @typing.overload
230 @staticmethod

Callers

nothing calls this directly

Calls 1

clear_currentMethod · 0.80

Tested by

no test coverage detected