MCPcopy Index your code
hub / github.com/python/cpython / clear

Method clear

Tools/clinic/libclinic/codegen.py:205–207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

203 return self._array[i]
204
205 def clear(self) -> None:
206 for ta in self._array:
207 ta.clear()
208
209 def dump(self) -> str:
210 texts = ["".join(ta) for ta in self._array]

Callers 1

dumpMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected