Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ _is_py_version
Function
_is_py_version
tools/toxnox.py:75–76 ·
view source on GitHub ↗
(token: str)
Source
from the content-addressed store, hash-verified
73
PY_RE = re.compile(r
"(?:python)?([234]\.\d+(t?))"
)
74
75
def
_is_py_version(token: str) -> bool:
76
return
bool(PY_RE.match(token))
77
78
def
_python_to_tag(token: str) -> str:
79
m = PY_RE.match(token)
Callers
1
_recur_param
Function · 0.85
Calls
1
match
Method · 0.45
Tested by
no test coverage detected