{ } Raw JSON

bundles / IPython 9.17.0 / IPython / lib / pretty / for_type

function

IPython.lib.pretty:for_type

source: /dev/ipython/IPython/lib/pretty.py:868

Signature

def for_type(typ, func)

Summary

Add a pretty printer for a given type.

Aliases

  • IPython.lib.pretty.for_type