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

Method disable

IPython/lib/inputhook.py:385–396  ·  view source on GitHub ↗

DEPRECATED since IPython 5.0 Disable event loop integration with wxPython. This restores appnapp on OS X

(self)

Source from the content-addressed store, hash-verified

383 return app
384
385 def disable(self):
386 """DEPRECATED since IPython 5.0
387
388 Disable event loop integration with wxPython.
389
390 This restores appnapp on OS X
391 """
392 warn("This function is deprecated since IPython 5.0 and will be removed in future versions.",
393 DeprecationWarning, stacklevel=2)
394 if _use_appnope():
395 from appnope import nap
396 nap()
397
398@inputhook_manager.register('qt', 'qt4')
399class Qt4InputHook(InputHookBase):

Callers 2

timeitMethod · 0.45
disableMethod · 0.45

Calls 1

_use_appnopeFunction · 0.85

Tested by

no test coverage detected