From 68937b4cbcc3e88d4207e6391a311f9b7d067b71 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 18 May 2007 00:51:22 +0000 Subject: Change some uses of cStringIO.StringIO to io.StringIO. This is undoubtedly insufficient and in some cases just as broken as before. --- Lib/cgi.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Lib/cgi.py') diff --git a/Lib/cgi.py b/Lib/cgi.py index 5ddf16e8f88..f756330fc93 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -41,10 +41,7 @@ import urllib 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", -- cgit v1.2.3