##// END OF EJS Templates
BUG: formatting.
Robert Kern -
Show More
@@ -1,7 +1,9 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Displayhook formatters.
2 """Displayhook formatters.
3
3
4 The DefaultFormatter is always present and may be configured from the ipython_config.py file. For example, to add a pretty-printer for a numpy.dtype object::
4 The DefaultFormatter is always present and may be configured from the
5 ipython_config.py file. For example, to add a pretty-printer for a numpy.dtype
6 object::
5
7
6 def dtype_pprinter(obj, p, cycle):
8 def dtype_pprinter(obj, p, cycle):
7 if cycle:
9 if cycle:
General Comments 0
You need to be logged in to leave comments. Login now