MCPcopy Create free account
hub / github.com/LabPy/lantz / clear

Method clear

lantz/ui/qtlog.py:209–214  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

207 self.endInsertRows()
208
209 def clear(self):
210 if hasattr(self._records, 'clear'):
211 self._records.clear()
212 else:
213 del self._records[:]
214 self.reset()
215
216 def get_record(self, pos):
217 return self._records[pos]

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected