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.
2.1 --- a/lib/__builtins__/__init__.py Mon Nov 28 15:52:53 2016 +0100
2.2 +++ b/lib/__builtins__/__init__.py Mon Nov 28 16:23:22 2016 +0100
2.3 @@ -19,7 +19,7 @@
2.4 this program. If not, see <http://www.gnu.org/licenses/>.
2.5 """
2.6
2.7 -from __builtins__.core import function, get_using, object, type, \
2.8 +from __builtins__.core import function, get_using, module, object, type, \
2.9 BaseException, Exception, MemoryError, TypeError, \
2.10 UnboundMethodInvocation, Warning
2.11