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: pycharm error

can explain this?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -