Commits

Anonymous committed f87d499

builtin: fixed the name of builtin submodules

Comments (0)

Files changed (1)

rope/base/builtins.py

         result.update(self.initial)
         for modname in self.submodules:
             name = modname.split('.')[-1]
-            result[name] = BuiltinModule(name, self.submodules)
+            result[name] = BuiltinModule(modname, self.submodules)
         return result
 
     @property