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

Method setstatus

Modules/_decimal/tests/deccheck.py:278–283  ·  view source on GitHub ↗

lst: C signal list

(self, lst)

Source from the content-addressed store, hash-verified

276 self.p.traps[CondMap[signal]] = True
277
278 def setstatus(self, lst):
279 """lst: C signal list"""
280 self.clear_status()
281 for signal in lst:
282 self.c.flags[signal] = True
283 self.p.flags[CondMap[signal]] = True
284
285 def assert_eq_status(self):
286 """assert equality of C and P status"""

Callers 1

__init__Method · 0.95

Calls 1

clear_statusMethod · 0.95

Tested by

no test coverage detected