MCPcopy Create free account
hub / github.com/ipython/ipython / decorator

Method decorator

IPython/lib/inputhook.py:230–236  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

228 warn("`register` is deprecated since IPython 5.0 and will be removed in future versions.",
229 DeprecationWarning, stacklevel=2)
230 def decorator(cls):
231 if ctypes is not None:
232 inst = cls(self)
233 self.guihooks[toolkitname] = inst
234 for a in aliases:
235 self.aliases[a] = toolkitname
236 return cls
237 return decorator
238
239 def current_gui(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected