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

bundles / IPython latest / IPython / core / inputtransformer2 / _find_assign_op

function

IPython.core.inputtransformer2:_find_assign_op

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

Signature

def _find_assign_op(token_line) → int | None

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