bundles / IPython 9.10.0 / IPython / core / splitinput / LineInfo / ofind
function
IPython.core.splitinput:LineInfo.ofind
source: /IPython/core/splitinput.py :127
Signature
def ofind ( self , ip ) → OInfo Summary
Do a full, attribute-walking lookup of the ifun in the various namespaces for the given IPython InteractiveShell instance.
Extended Summary
Return a dict with keys: {found, obj, ospace, ismagic}
Note: can cause state changes because of calling getattr, but should only be run if autocall is on and if the line hasn't matched any other, less dangerous handlers.
Does cache the results of the call, so can be called multiple times without worrying about further damaging state.
Aliases
-
IPython.core.prefilter.LineInfo.ofind