diff options
Diffstat (limited to 'Lib/tempfile.py')
| -rw-r--r-- | Lib/tempfile.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index bcd9189..0dd32f3 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -37,10 +37,7 @@ if _os.name == 'mac': import Carbon.Folder as _Folder import Carbon.Folders as _Folders -try: - from cStringIO import StringIO as _StringIO -except: - from StringIO import StringIO as _StringIO +from io import StringIO as _StringIO try: import fcntl as _fcntl |
