diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2008-05-10 20:38:40 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2008-05-10 20:38:40 (GMT) |
commit | 7ecf3dcaeec4c0561fa2a952b08c259f3a542587 (patch) | |
tree | 2a1fffc423b544302908937e7af45b115acd094a | |
parent | d175b4cda5fdb2a06ee77a46259c19671faa31fd (diff) | |
download | cpython-7ecf3dcaeec4c0561fa2a952b08c259f3a542587.zip cpython-7ecf3dcaeec4c0561fa2a952b08c259f3a542587.tar.gz cpython-7ecf3dcaeec4c0561fa2a952b08c259f3a542587.tar.bz2 |
Fixup old, invalid import.
-rw-r--r-- | Lib/cookielib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cookielib.py b/Lib/cookielib.py index ee31f46..6c59390 100644 --- a/Lib/cookielib.py +++ b/Lib/cookielib.py @@ -57,7 +57,7 @@ def _warn_unhandled_exception(): # There are a few catch-all except: statements in this module, for # catching input that's bad in unexpected ways. Warn if any # exceptions are caught there. - import warnings, traceback, StringIO + import io, warnings, traceback f = io.StringIO() traceback.print_exc(None, f) msg = f.getvalue() |