bundles / IPython 9.12.0 / IPython / core / prefilter / AutoMagicChecker / check
function
IPython.core.prefilter:AutoMagicChecker.check
source: /IPython/core/prefilter.py :450
Signature
def check ( self , line_info ) Summary
If the ifun is magic, and automagic is on, run it. Note: normal, non-auto magic would already have been triggered via '%' in check_esc_chars. This just checks for automagic. Also, before triggering the magic handler, make sure that there is nothing in the user namespace which could shadow it.
Aliases
-
IPython.core.prefilter.AutoMagicChecker.check