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

Method settraps

Modules/_decimal/tests/deccheck.py:271–276  ·  view source on GitHub ↗

lst: C signal list

(self, lst)

Source from the content-addressed store, hash-verified

269 self.p.clear_flags()
270
271 def settraps(self, lst):
272 """lst: C signal list"""
273 self.clear_traps()
274 for signal in lst:
275 self.c.traps[signal] = True
276 self.p.traps[CondMap[signal]] = True
277
278 def setstatus(self, lst):
279 """lst: C signal list"""

Callers 1

__init__Method · 0.95

Calls 1

clear_trapsMethod · 0.95

Tested by

no test coverage detected