Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/EditorWindow.py @ 41575:beacf40b5960
Rip out all the u"..." literals and calls to unicode().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 02 May 2007 19:09:54 +0000 |
| parents | 4cdf21a0dbbc |
| children | 4bbbe0c55fa2 |
line wrap: on
line diff
--- a/Lib/idlelib/EditorWindow.py Fri Apr 27 23:53:51 2007 +0000 +++ b/Lib/idlelib/EditorWindow.py Wed May 02 19:09:54 2007 +0000 @@ -276,7 +276,7 @@ def _filename_to_unicode(self, filename): """convert filename to unicode in order to display it in Tk""" - if isinstance(filename, unicode) or not filename: + if isinstance(filename, str) or not filename: return filename else: try:
