summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-xLib/cgi.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index 5ddf16e..f756330 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",