cf.FieldList.__getslice__

FieldList.__getslice__(i, j)[source]

Called to implement evaluation of f[i:j]

f.__getslice__(i, j) <==> f[i:j]

Returns
FieldList

Slice of the list from i to j.

Examples:

>>> g = f[0:1]
>>> g = f[1:-4]
>>> g = f[:1]
>>> g = f[1:]