MCPcopy 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
188def 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
195if __name__ == '__main__':

Callers 1

setup.pyFile · 0.85

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected