Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apenwarr/sshuttle
/ _intify
Function
_intify
options.py:29–36 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
27
28
29
def
_intify(v):
30
try
:
31
vv = int(v or
''
)
32
if
str(vv) == v:
33
return
vv
34
except
ValueError:
35
pass
36
return
v
37
38
39
def
_atoi(v):
Callers
2
_gen_usage
Method · 0.85
parse
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected