~ubuntu-branches/ubuntu/saucy/python2.7/saucy-proposed

« back to all changes in this revision

Viewing changes to Lib/pprint.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-05-15 19:15:16 UTC
  • mto: (36.1.23 sid)
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: package-import@ubuntu.com-20130515191516-zmv6to904wemey7s
Tags: upstream-2.7.5
ImportĀ upstreamĀ versionĀ 2.7.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
import sys as _sys
38
38
import warnings
39
39
 
40
 
from cStringIO import StringIO as _StringIO
 
40
try:
 
41
    from cStringIO import StringIO as _StringIO
 
42
except ImportError:
 
43
    from StringIO import StringIO as _StringIO
41
44
 
42
45
__all__ = ["pprint","pformat","isreadable","isrecursive","saferepr",
43
46
           "PrettyPrinter"]