Commits

Martin von Löwis committed 300e2bb Merge

merge 3.2

  • Participants
  • Parent commits 76b7b74, 302df09

Comments (0)

Files changed (1)

File Lib/idlelib/run.py

         super.__setattr__(self, 'rpc', rpc)
 
     def __getattribute__(self, name):
-        # When accessing the 'rpc' attribute, use ours
-        if name == 'rpc':
+        # When accessing the 'rpc' attribute, or 'write', use ours
+        if name in ('rpc', 'write'):
             return io.TextIOBase.__getattribute__(self, name)
         # Else only look into the remote object only
         return getattr(self.rpc, name)