MCPcopy Index your code
hub / github.com/kivy/python-for-android / add_no

Function add_no

pythonforandroid/toolchain.py:72–74  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

70 dest=dest, action='store_true')
71 if no_names is None:
72 def add_no(x):
73 x = x.lstrip("-")
74 return ("no_"+x) if "_" in x else ("no-"+x)
75 no_names = [add_no(x) for x in names]
76 opts = [add_dashes(x) for x in no_names]
77 group.add_argument(

Callers 1

add_boolean_optionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected