I'm running into a strange editor warning when running Pycharm community 2018.3 and Python 2.7. I've reduced it down to this code snippet:
p = [None] * 4
p = 3
Pycharm gives the following warning on the array index 0:
The warning goes away if I change the first line to p = [None, None, None, None]
Does anyone have an idea why this is happening? Thanks!