Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

DOC: Fix references to IPython.lib.pretty instead of the old location #1514

Merged
merged 1 commit into from

2 participants

@rkern

Simple fix. Noticed it while I was answering someone's question on the mailing list.

@minrk minrk merged commit 80c9e8e into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 22, 2012
  1. @rkern

    DOC: Fix references to IPython.lib.pretty instead of the old location…

    rkern authored
    … IPython.external.pretty
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 IPython/core/formatters.py
View
6 IPython/core/formatters.py
@@ -319,9 +319,9 @@ class is not in the registry. Successful matches will be moved to the
class PlainTextFormatter(BaseFormatter):
"""The default pretty-printer.
- This uses :mod:`IPython.external.pretty` to compute the format data of
+ This uses :mod:`IPython.lib.pretty` to compute the format data of
the object. If the object cannot be pretty printed, :func:`repr` is used.
- See the documentation of :mod:`IPython.external.pretty` for details on
+ See the documentation of :mod:`IPython.lib.pretty` for details on
how to write pretty printers. Here is a simple example::
def dtype_pprinter(obj, p, cycle):
@@ -412,7 +412,7 @@ def _float_precision_changed(self, name, old, new):
numpy.set_printoptions(precision=8)
self.float_format = fmt
- # Use the default pretty printers from IPython.external.pretty.
+ # Use the default pretty printers from IPython.lib.pretty.
def _singleton_printers_default(self):
return pretty._singleton_pprinters.copy()
Something went wrong with that request. Please try again.