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

Method disable_qt4

IPython/lib/inputhook.py:435–446  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

433 return app
434
435 def disable_qt4(self):
436 """DEPRECATED since IPython 5.0
437
438 Disable event loop integration with PyQt4.
439
440 This restores appnapp on OS X
441 """
442 warn("This function is deprecated since IPython 5.0 and will be removed in future versions.",
443 DeprecationWarning, stacklevel=2)
444 if _use_appnope():
445 from appnope import nap
446 nap()
447
448
449@inputhook_manager.register('qt5')

Callers

nothing calls this directly

Calls 1

_use_appnopeFunction · 0.85

Tested by

no test coverage detected