Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ get_option_from_sys_argv
Function
get_option_from_sys_argv
deps/protobuf/python/setup.py:188–192 ·
view source on GitHub ↗
(option_str)
Source
from the content-addressed store, hash-verified
186
187
188
def
get_option_from_sys_argv(option_str):
189
if
option_str in sys.argv:
190
sys.argv.remove(option_str)
191
return
True
192
return
False
193
194
195
if
__name__ ==
'__main__'
:
Callers
1
setup.py
File · 0.85
Calls
1
remove
Method · 0.45
Tested by
no test coverage detected