Return first ``index`` at which ``value`` appears in the ``Array``. Raises :py:exc:`ValueError` if the value is not present.
(self, /, value: T, start: int = 0, stop: int = sys.maxsize)
| 1012 | """Append object to the end of the list.""" |
| 1013 | |
| 1014 | def index(self, /, value: T, start: int = 0, stop: int = sys.maxsize) -> int: |
| 1015 | """Return first ``index`` at which ``value`` appears in the ``Array``. |
| 1016 | |
| 1017 | Raises :py:exc:`ValueError` if the value is not present. |
| 1018 | """ |
| 1019 | raise NotImplementedError |
| 1020 | |
| 1021 | def count(self, /, x: T) -> int: |
| 1022 | """Return the number of times x appears in the list.""" |
no outgoing calls