MCPcopy Create free account
hub / github.com/IncideDigital/Mistica / invert

Method invert

utils/bitstring.py:3492–3513  ·  view source on GitHub ↗

Invert one or many bits from 0 to 1 or vice versa. pos -- Either a single bit position or an iterable of bit positions. Negative numbers are treated in the same way as slice indices. Raises IndexError if pos < -self.len or pos >= self.len.

(self, pos=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_invert_allMethod · 0.80
_invertMethod · 0.80

Tested by

no test coverage detected