[Python-checkins] r74351 - in python/branches/tk_and_idle_maintenance/Lib/idlelib: AutoCompleteWindow.py WidgetRedirector.py

guilherme.polo python-checkins at python.org
Fri Aug 7 19:16:21 CEST 2009


Author: guilherme.polo
Date: Fri Aug  7 19:16:21 2009
New Revision: 74351

Log:
Wrongly committed on r74350.

Modified:
   python/branches/tk_and_idle_maintenance/Lib/idlelib/AutoCompleteWindow.py
   python/branches/tk_and_idle_maintenance/Lib/idlelib/WidgetRedirector.py

Modified: python/branches/tk_and_idle_maintenance/Lib/idlelib/AutoCompleteWindow.py
==============================================================================
--- python/branches/tk_and_idle_maintenance/Lib/idlelib/AutoCompleteWindow.py	(original)
+++ python/branches/tk_and_idle_maintenance/Lib/idlelib/AutoCompleteWindow.py	Fri Aug  7 19:16:21 2009
@@ -256,7 +256,7 @@
     def keypress_event(self, event):
         if not self.is_active():
             return
-        keysym = str(event.keysym)
+        keysym = event.keysym
         if hasattr(event, "mc_state"):
             state = event.mc_state
         else:

Modified: python/branches/tk_and_idle_maintenance/Lib/idlelib/WidgetRedirector.py
==============================================================================
--- python/branches/tk_and_idle_maintenance/Lib/idlelib/WidgetRedirector.py	(original)
+++ python/branches/tk_and_idle_maintenance/Lib/idlelib/WidgetRedirector.py	Fri Aug  7 19:16:21 2009
@@ -77,7 +77,6 @@
         to *args to accomplish that.  For an example, see ColorDelegator.py.
 
         '''
-        operation = str(operation)
         m = self._operations.get(operation)
         try:
             if m:


More information about the Python-checkins mailing list