bundles / IPython 9.5.0 / IPython / utils / text / SList
class
IPython.utils.text:SList
source: /IPython/utils/text.py :105
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