Show More
@@ -31,20 +31,22 a function. | |||||
31 |
|
31 | |||
32 | See the `IPython.external.pretty` documentation for how to write |
|
32 | See the `IPython.external.pretty` documentation for how to write | |
33 | pretty-printer functions. |
|
33 | pretty-printer functions. | |
34 |
|
||||
35 | Authors: |
|
|||
36 |
|
||||
37 | * Robert Kern |
|
|||
38 | """ |
|
34 | """ | |
39 |
|
35 | |||
|
36 | # Stdlib imports | |||
40 | import abc |
|
37 | import abc | |
41 | from cStringIO import StringIO |
|
38 | from cStringIO import StringIO | |
42 |
|
39 | |||
|
40 | # Our own imports | |||
43 | from IPython.config.configurable import Configurable |
|
41 | from IPython.config.configurable import Configurable | |
44 | from IPython.external import pretty |
|
42 | from IPython.external import pretty | |
45 | from IPython.utils.traitlets import Bool, Dict, Int, Str |
|
43 | from IPython.utils.traitlets import Bool, Dict, Int, Str | |
46 |
|
44 | |||
47 |
|
45 | |||
|
46 | #----------------------------------------------------------------------------- | |||
|
47 | # Classes and functions | |||
|
48 | #----------------------------------------------------------------------------- | |||
|
49 | ||||
48 | class DefaultFormatter(Configurable): |
|
50 | class DefaultFormatter(Configurable): | |
49 | """ The default pretty-printer. |
|
51 | """ The default pretty-printer. | |
50 | """ |
|
52 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now