Do for hasattr() what was done for getattr()
Namely, an exception is raised if the second arg to hasattr() is not a string or Unicode.
Showing
Please register or sign in to comment
Namely, an exception is raised if the second arg to hasattr() is not a string or Unicode.