Mercurial > cpython-lru_cache-weakref
diff Lib/cgi.py @ 41760:1a9cd76364e3
Change some uses of cStringIO.StringIO to io.StringIO.
This is undoubtedly insufficient and in some cases just as broken as before.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 18 May 2007 00:51:22 +0000 |
| parents | 4cdf21a0dbbc |
| children | a53e48be6df9 |
line wrap: on
line diff
--- a/Lib/cgi.py Fri May 18 00:24:43 2007 +0000 +++ b/Lib/cgi.py Fri May 18 00:51:22 2007 +0000 @@ -41,10 +41,7 @@ import mimetools import rfc822 import UserDict -try: - from cStringIO import StringIO -except ImportError: - from StringIO import StringIO +from io import StringIO __all__ = ["MiniFieldStorage", "FieldStorage", "FormContentDict", "SvFormContentDict", "InterpFormContentDict", "FormContent",
