Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is only for redefinitions that change the type. If you re-assign with the same type, there's no warning. However, pylint does issue warnings for other interesting cases, such as redefining function arguments and variables from an outer scope.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: