MCPcopy Index your code
hub / github.com/lincolnloop/python-qrcode / ActiveWithNeighbors

Class ActiveWithNeighbors

qrcode/main.py:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55class ActiveWithNeighbors(NamedTuple):
56 NW: bool
57 N: bool
58 NE: bool
59 W: bool
60 me: bool
61 E: bool
62 SW: bool
63 S: bool
64 SE: bool
65
66 def __bool__(self) -> bool:
67 return self.me
68
69
70GenericImage = TypeVar("GenericImage", bound=BaseImage)

Callers 1

active_with_neighborsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected