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

Method _ignore_flags

Lib/_pydecimal.py:4031–4036  ·  view source on GitHub ↗

Ignore the flags, if they are raised

(self, *flags)

Source from the content-addressed store, hash-verified

4029 return self._ignore_flags(*_signals)
4030
4031 def _ignore_flags(self, *flags):
4032 """Ignore the flags, if they are raised"""
4033 # Do not mutate-- This way, copies of a context leave the original
4034 # alone.
4035 self._ignored_flags = (self._ignored_flags + list(flags))
4036 return list(flags)
4037
4038 def _regard_flags(self, *flags):
4039 """Stop ignoring the flags, if they are raised"""

Callers 1

_ignore_all_flagsMethod · 0.95

Calls 1

listClass · 0.85

Tested by

no test coverage detected