Skip to content

ReinforcementLabelList

Canonical path: NemAll_Python_Reinforcement.ReinforcementLabelList

__contains__

__contains__(value: ReinforcementLabel) -> bool

Check for a value in the list

Parameters:

Returns:

  • bool

    State for value is in the list

__delitem__

__delitem__(value: ReinforcementLabel)

Delete a list item

Parameters:

__getitem__

__getitem__(index: int) -> ReinforcementLabel

Get a list item

Parameters:

  • index (int) –

    Index of the item

Returns:

__init__

__init__()

Initialize

__iter__

__iter__() -> Iterator

List iterator

Returns:

  • Iterator

    List iterator

__len__

__len__() -> int

Get the list length

Returns:

  • int

    Length of the list

__repr__

__repr__() -> str

Convert the list to a string

Returns:

  • str

    List values as string

__setitem__

__setitem__(index: int | slice, value: ReinforcementLabel)

Set a list item

Parameters:

append

append(value: ReinforcementLabel)

Append a list item

Parameters:

extend

extend(iterable: ReinforcementLabelList)

Add the items from an iterable to the end of the list

Parameters:

Placeholder