##// END OF EJS Templates
Change to pass tests in IPython.extensions
Thomas Kluyver -
Show More
@@ -101,7 +101,8 b''
101 Portions (c) 2009 by Robert Kern.
101 Portions (c) 2009 by Robert Kern.
102 :license: BSD License.
102 :license: BSD License.
103 """
103 """
104 import __future__
104 from __future__ import with_statement
105 from contextlib import contextmanager
105 import sys
106 import sys
106 import types
107 import types
107 import re
108 import re
@@ -138,9 +139,6 b" def pprint(obj, verbose=False, max_width=79, newline='\\n'):"
138 sys.stdout.write(newline)
139 sys.stdout.write(newline)
139 sys.stdout.flush()
140 sys.stdout.flush()
140
141
141 from __future__ import with_statement
142 from contextlib import contextmanager
143
144 class _PrettyPrinterBase(object):
142 class _PrettyPrinterBase(object):
145
143
146 @contextmanager
144 @contextmanager
General Comments 0
You need to be logged in to leave comments. Login now