Don’t use Python’s hasattr()
unless you’re writing Python 3-only code and understand how it works.
↧
Hynek Schlawack: hasattr() – A Dangerous Misnomer
↧
Don’t use Python’s hasattr()
unless you’re writing Python 3-only code and understand how it works.