List » elements

elements() → list

Retrieve the items of this list as Field elements (instead of their direct values) in sequential order.

enonumbers:
- 6
- 8
- 19
python>>> list = enopy.parse(input).element('numbers')
>>> list.elements()
[ <class Field value="6">, <class Field value="8">, <class Field value="19"> ]

Return value

A list containing the items of this list as Field elements.