summaryrefslogtreecommitdiff
path: root/Lib/shlex.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-18 00:51:22 +0000
committerGuido van Rossum <guido@python.org>2007-05-18 00:51:22 +0000
commit68937b4cbcc3e88d4207e6391a311f9b7d067b71 (patch)
treeb5fffb2ee6c7f523ced6f49f9ab35bc22413cbcf /Lib/shlex.py
parent7ac9d4020100b99b17eeddf65bafa8e87f9f293a (diff)
downloadcpython-git-68937b4cbcc3e88d4207e6391a311f9b7d067b71.tar.gz
Change some uses of cStringIO.StringIO to io.StringIO.
This is undoubtedly insufficient and in some cases just as broken as before.
Diffstat (limited to 'Lib/shlex.py')
-rw-r--r--Lib/shlex.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py
index 520b637bcb..964046dbd5 100644
--- a/Lib/shlex.py
+++ b/Lib/shlex.py
@@ -11,10 +11,7 @@ import os.path
import sys
from collections import deque
-try:
- from cStringIO import StringIO
-except ImportError:
- from StringIO import StringIO
+from io import StringIO
__all__ = ["shlex", "split"]