MCPcopy Index your code
hub / github.com/clips/pattern / clear

Method clear

pattern/vector/__init__.py:899–901  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

897 self._index.pop(d.name, None)
898 self._update()
899 def clear(self):
900 self._documents = readonlylist()
901 self._update()
902
903 def append(self, document):
904 """ Appends the given Document to the model.

Callers 1

stemFunction · 0.45

Calls 2

_updateMethod · 0.95
readonlylistClass · 0.85

Tested by

no test coverage detected