Commits

Anonymous committed 060b569

ropebase: support for BuiltinUnknown.get_name. Thanks Darren Hoo for patch.

  • Participants
  • Parent commits 0dc9cfc

Comments (0)

Files changed (1)

rope/base/builtins.py

         self.builtin = builtin
         self.type = pyobjects.get_unknown()
 
+    def get_name(self):
+        return getattr(type(self.builtin), '__name__', None)
+
     @utils.saveit
     def get_attributes(self):
         return _object_attributes(self.builtin, self)