strange pycharm warning when indexing into a tuple (python) -
here python code:
... grasses_time = {(0, 0): 0} last_position = (0, 0) print last_position[0] distance_restrictions = [] time_p in range(len(fjstr)): time = time_p + 1 direction = fjstr[time_p] last_position_x = last_position[0] last_position_y = last_position[1] ...
in last_position_x = last_position[0]
, pycharm gives warning:
can explain this?
Comments
Post a Comment