This is a development version (9.18.0.dev) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.18.0.dev / IPython / core / prefilter / PythonOpsChecker / check

function

IPython.core.prefilter:PythonOpsChecker.check

source: /IPython/core/prefilter.py:473

Signature

def check(self, line_info)

Summary

If the 'rest' of the line begins with a function call or pretty much any python operator, we should simply execute the line (regardless of whether or not there's a possible autocall expansion). This avoids spurious (and very confusing) geattr() accesses.

Aliases

  • IPython.core.prefilter.PythonOpsChecker.check