Module Import alias ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpAdd BinOpPow AttributeLoad NameLoad attr Num BinOpPow AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AugAssignDiv AttributeStore NameLoad attr NameLoad AugAssignDiv AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad UnaryOpUSub AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore TupleLoad Num Num Assign NameStore TupleLoad Num Num Assign NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Print TupleLoad Str NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Print TupleLoad Str NameLoad
N/A N/A math Vector2 N/A N/A __init__ N/A N/A self x y N/A 0 0 N/A N/A N/A self x x N/A N/A self y y N/A __str__ N/A N/A self N/A N/A N/A N/A (%s, %s) N/A N/A self x N/A self y N/A from_points N/A N/A P1 P2 N/A N/A N/A N/A Vector2 N/A N/A P2 N/A 0 N/A P1 N/A 0 N/A N/A P2 N/A 1 N/A P1 N/A 1 N/A get_magnitude N/A N/A self N/A N/A N/A N/A N/A math sqrt N/A N/A N/A self x 2 N/A N/A self y 2 N/A normalize N/A N/A self N/A N/A N/A magnitude N/A N/A self get_magnitude N/A N/A self x magnitude N/A N/A self y magnitude N/A __add__ N/A N/A self rhs N/A N/A N/A N/A Vector2 N/A N/A self x N/A rhs x N/A N/A self y N/A rhs y N/A __sub__ N/A N/A self rhs N/A N/A N/A N/A Vector2 N/A N/A self x N/A rhs x N/A N/A self y N/A rhs y N/A __neg__ N/A N/A self N/A N/A N/A N/A Vector2 N/A N/A self x N/A N/A self y N/A N/A N/A A N/A 10.0 20.0 N/A B N/A 30.0 35.0 N/A C N/A 15.0 45.0 N/A AB N/A N/A Vector2 from_points A B N/A BC N/A N/A Vector2 from_points B C N/A AC N/A N/A Vector2 from_points A C N/A N/A Vector AC is AC N/A AC N/A AB BC N/A N/A AB + BC is AC