MCPcopy Index your code
hub / github.com/RustPython/RustPython / reset

Method reset

Lib/test/support/warnings_helper.py:80–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 return self._warnings[self._last:]
79
80 def reset(self):
81 self._last = len(self._warnings)
82
83
84@contextlib.contextmanager

Callers 3

coro_resetMethod · 0.45
coroMethod · 0.45
test_check_warningsMethod · 0.45

Calls 1

lenFunction · 0.85

Tested by 3

coro_resetMethod · 0.36
coroMethod · 0.36
test_check_warningsMethod · 0.36