]> granicus.if.org Git - python/commit
Use __module__ attribute when available instead of using isclass() predicate
authorJohannes Gijsbers <jlg@dds.nl>
Sat, 11 Sep 2004 15:53:22 +0000 (15:53 +0000)
committerJohannes Gijsbers <jlg@dds.nl>
Sat, 11 Sep 2004 15:53:22 +0000 (15:53 +0000)
commit9324526a7658c5450eba24b48065d87d5db5ab1f
tree432c6fd0d5296e47b0a239694a11e2f38c9a990b
parentc9c37ca62e1aa6bda1fca5882048645bb6b11fba
Use __module__ attribute when available instead of using isclass() predicate
(functions and methods have grown the __module__ attribute too). See bug #570300.
Lib/inspect.py