You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.3.0 / IPython / core / prefilter / AssignmentChecker / check

function

IPython.core.prefilter:AssignmentChecker.check

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

Signature

def   check ( self line_info )

Summary

Check to see if user is assigning to a var for the first time, in which case we want to avoid any sort of automagic / autocall games.

Extended Summary

This allows users to assign to either alias or magic names true python variables (the magic/alias systems always take second seat to true python code). E.g. ls='hi', or ls,that=1,2

Aliases

  • IPython.core.prefilter.AssignmentChecker.check