Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lincolnloop/python-qrcode
/ _check_box_size
Function
_check_box_size
qrcode/main.py:28–30 ·
view source on GitHub ↗
(size)
Source
from the content-addressed store, hash-verified
26
27
28
def
_check_box_size(size):
29
if
int(size) <= 0:
30
raise
ValueError(f
"Invalid box size (was {size}, expected larger than 0)"
)
31
32
33
def
_check_border(size):
Callers
2
__init__
Method · 0.85
make_image
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected