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

bundles / IPython latest / IPython / utils / text / SList

class

IPython.utils.text:SList

source: /IPython/utils/text.py :99

Signature

class   SList ( iterable = () / )

Members

Summary

List derivative with a special access attributes.

Extended Summary

These are normal lists, but with the special attributes:

  • .l (or .list)value as list (the list itself).

  • .n (or .nlstr): value as a string, joined on newlines.

  • .s (or .spstr): value as a string, joined on spaces.

  • .p (or .paths): list of path objects (requires path.py package)

Any values which require transformations are computed only once and cached.

Aliases

  • IPython.core.interactiveshell.SList

Referenced by