{ } Raw JSON

bundles / IPython 9.13.0 / IPython / core / inputtransformer2 / _find_assign_op

function

IPython.core.inputtransformer2:_find_assign_op

source: /IPython/core/inputtransformer2.py :217

Signature

def   _find_assign_op ( token_line )  →  Optional[int]

Summary

Get the index of the first assignment in the line ('=' not inside brackets)

Extended Summary

Note: We don't try to support multiple special assignment (a = b = %foo)

Aliases

  • IPython.core.inputtransformer2._find_assign_op