MCPcopy
hub / github.com/pyodide/pyodide / count

Method count

src/py/_pyodide/_core_docs.py:1021–1023  ·  view source on GitHub ↗

Return the number of times x appears in the list.

(self, /, x: T)

Source from the content-addressed store, hash-verified

1019 raise NotImplementedError
1020
1021 def count(self, /, x: T) -> int:
1022 """Return the number of times x appears in the list."""
1023 raise NotImplementedError
1024
1025 def reverse(self) -> None:
1026 """Reverse the array in place."""

Callers 5

test_load_failure_retryFunction · 0.80
checkFunction · 0.80
test_jsarray_countFunction · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by 5

test_load_failure_retryFunction · 0.64
checkFunction · 0.64
test_jsarray_countFunction · 0.64
runFunction · 0.64