MCPcopy
hub / github.com/pyodide/pyodide / clear

Method clear

src/py/_pyodide/_core_docs.py:1176–1177  ·  view source on GitHub ↗

Empty out the map entirely.

(self)

Source from the content-addressed store, hash-verified

1174 raise NotImplementedError
1175
1176 def clear(self) -> None:
1177 """Empty out the map entirely."""
1178
1179 @overload
1180 def update(self, __m: _SupportsKeysAndGetItem[KT, VT], **kwargs: VT) -> None: ...

Callers 7

test_mappingsFunction · 0.80
readMethod · 0.80
shutdown_asyncgensMethod · 0.80
restore_stateFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_mappingsFunction · 0.64