summaryrefslogtreecommitdiffstats
path: root/Lib/pprint.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-03-22 14:37:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-03-22 14:37:13 (GMT)
commit469ee9d84c994f3e67b1cb8c3a1ff02107f91fe9 (patch)
treeee0324ddaddded4b9f65988b775bda9bbce8a301 /Lib/pprint.py
parent45072741393412f0336d8356f9f597d7c2e1abed (diff)
downloadcpython-469ee9d84c994f3e67b1cb8c3a1ff02107f91fe9.zip
cpython-469ee9d84c994f3e67b1cb8c3a1ff02107f91fe9.tar.gz
cpython-469ee9d84c994f3e67b1cb8c3a1ff02107f91fe9.tar.bz2
backout 66e30c4870bb for breaking OSX (#13150)
Diffstat (limited to 'Lib/pprint.py')
-rw-r--r--Lib/pprint.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/pprint.py b/Lib/pprint.py
index 330099d..910283e 100644
--- a/Lib/pprint.py
+++ b/Lib/pprint.py
@@ -37,10 +37,7 @@ saferepr()
import sys as _sys
import warnings
-try:
- from cStringIO import StringIO as _StringIO
-except ImportError:
- from StringIO import StringIO as _StringIO
+from cStringIO import StringIO as _StringIO
__all__ = ["pprint","pformat","isreadable","isrecursive","saferepr",
"PrettyPrinter"]