My guess would be a bad auto-complete suggestion that wasn't read carefully before accepting.
Loose-type languages often struggle with auto-complete and related. I don't know enough about current state of python development to say with certainty, however.
Cannot offer any justification for the error. Just that I have done it more than once, and each time it has taken me too long to debug the underlying cause.
Loose-type languages often struggle with auto-complete and related. I don't know enough about current state of python development to say with certainty, however.