inspector.py | raw changeset files shortlog |
1.1 --- a/inspector.py Mon Nov 28 15:52:53 2016 +0100 1.2 +++ b/inspector.py Mon Nov 28 16:23:22 2016 +0100 1.3 @@ -76,7 +76,7 @@ 1.4 1.5 # Set the class of the module after the definition has occurred. 1.6 1.7 - ref = self.get_builtin("object") 1.8 + ref = self.get_builtin("module") 1.9 self.set_name("__class__", ref) 1.10 1.11 # Get module-level attribute usage details.