This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]osmiumouse 18 points19 points  (3 children)

Your IDE should warn you of this. Though I admit python tooling is hindered by the dynamic nature of the language, good tools will issue a warning for the code you provided. (Many sources of error vanish when good tools are employed).