Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ _exec
Function
_exec
IPython/terminal/pt_inputhooks/qt.py:14–16 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
12
13
14
def
_exec(obj):
15
# exec on PyQt6, exec_ elsewhere.
16
obj.exec()
if
hasattr(obj,
"exec"
)
else
obj.exec_()
17
18
19
def
_reclaim_excepthook():
Callers
1
inputhook
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…