Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lincolnloop/python-qrcode
/ check_version
Function
check_version
qrcode/util.py:182–184 ·
view source on GitHub ↗
(version)
Source
from the content-addressed store, hash-verified
180
181
182
def
check_version(version):
183
if
version < 1 or version > 40:
184
raise
ValueError(f
"Invalid version (was {version}, expected 1 to 40)"
)
185
186
187
def
lost_point(modules):
Callers
1
length_in_bits
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected