This is a development version (9.14.0.dev) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / IPython / lib / pretty / RawText

class

IPython.lib.pretty:RawText

source: /IPython/lib/pretty.py :529

Signature

class   RawText ( value )

Members

Summary

Object such that p.pretty(RawText(value)) is the same as p.text(value).

Extended Summary

An example usage of this would be to show a list as binary numbers, using p.pretty([RawText(bin(i)) for i in integers]).

Aliases

  • IPython.lib.pretty.RawText