Home
last modified time | relevance | path

Searched refs:option_strings (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/
Dargparse.py314 if action.option_strings:
442 elif not action.option_strings:
456 option_string = action.option_strings[0]
552 if not action.option_strings:
563 parts.extend(action.option_strings)
570 for option_string in action.option_strings:
700 if action.option_strings or action.nargs in defaulting_nargs:
728 elif argument.option_strings:
729 return '/'.join(argument.option_strings)
821 option_strings, argument
[all …]
Doptparse.py227 self.option_strings = {}
312 opts = self.option_strings[option]
336 self.option_strings[opt] = strings
342 self.option_strings[opt] = strings
Ddoctest.py758 option_strings = m.group(1).replace(',', ' ').split()
759 for option in option_strings:
/third_party/glib/gio/
Dgapplication.c257 GSList *option_strings; member
789 …application->priv->option_strings = g_slist_prepend (application->priv->option_strings, dup_string… in g_application_add_main_option()
792 …application->priv->option_strings = g_slist_prepend (application->priv->option_strings, dup_string… in g_application_add_main_option()
795 …application->priv->option_strings = g_slist_prepend (application->priv->option_strings, dup_string… in g_application_add_main_option()
1390 g_slist_free_full (application->priv->option_strings, g_free); in g_application_finalize()
/third_party/python/Doc/library/
Dargparse.rst668 …_StoreAction(option_strings=['--integers'], dest='integers', nargs=None, const=None, default=None,…
866 ... def __init__(self, option_strings, dest, nargs=None, **kwargs):
869 ... super().__init__(option_strings, dest, **kwargs)
1356 .. class:: Action(option_strings, dest, nargs=None, const=None, default=None, \
1367 parameter) should have attributes "dest", "option_strings", "default", "type",
/third_party/python/Lib/test/
Dtest_argparse.py4597 option_strings, argument
4780 option_strings=['--foo', '-a', '-b'],
4796 option_strings=[],
/third_party/glib/
DNEWS3404 773303 GApplication leaks option_strings