Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lincolnloop/python-qrcode
/ _check_border
Function
_check_border
qrcode/main.py:33–37 ·
view source on GitHub ↗
(size)
Source
from the content-addressed store, hash-verified
31
32
33
def
_check_border(size):
34
if
int(size) < 0:
35
raise
ValueError(
36
"Invalid border value (was %s, expected 0 or larger than that)"
% size
37
)
38
39
40
def
_check_mask_pattern(mask_pattern):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected