Use __module__ attribute when available instead of using isclass() predicate
(functions and methods have grown the __module__ attribute too). See bug #570300.
Showing
Please register or sign in to comment
(functions and methods have grown the __module__ attribute too). See bug #570300.