[Python-checkins] r68242 - python/branches/py3k/Lib/tkinter/__init__.py

guilherme.polo python-checkins at python.org
Sat Jan 3 23:13:31 CET 2009


Author: guilherme.polo
Date: Sat Jan  3 23:13:31 2009
New Revision: 68242

Log:
Forgot to remove no longer needed code since r68237


Modified:
   python/branches/py3k/Lib/tkinter/__init__.py

Modified: python/branches/py3k/Lib/tkinter/__init__.py
==============================================================================
--- python/branches/py3k/Lib/tkinter/__init__.py	(original)
+++ python/branches/py3k/Lib/tkinter/__init__.py	Sat Jan  3 23:13:31 2009
@@ -49,12 +49,6 @@
 WRITABLE = _tkinter.WRITABLE
 EXCEPTION = _tkinter.EXCEPTION
 
-# These are not always defined, e.g. not on Win32 with Tk 8.0 :-(
-try: _tkinter.createfilehandler
-except AttributeError: _tkinter.createfilehandler = None
-try: _tkinter.deletefilehandler
-except AttributeError: _tkinter.deletefilehandler = None
-
 
 def _flatten(seq):
     """Internal function."""


More information about the Python-checkins mailing list