MCPcopy Create free account
hub / github.com/python/cpython / clear_traps

Method clear_traps

Modules/_decimal/tests/deccheck.py:262–265  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

260 capitals = property(getcapitals, setcapitals)
261
262 def clear_traps(self):
263 self.c.clear_traps()
264 for trap in self.p.traps:
265 self.p.traps[trap] = False
266
267 def clear_status(self):
268 self.c.clear_flags()

Callers 3

settrapsMethod · 0.95
randcontextFunction · 0.95
deccheck.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected