Home
last modified time | relevance | path

Searched refs:gnu_getopt (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_getopt.py116 opts, args = getopt.gnu_getopt(cmdline, 'ab:', ['alpha', 'beta='])
122 opts, args = getopt.gnu_getopt(['-a', '-', '-b', '-'], 'ab:', [])
127 opts, args = getopt.gnu_getopt(cmdline, '+ab:', ['alpha', 'beta='])
133 opts, args = getopt.gnu_getopt(cmdline, 'ab:', ['alpha', 'beta='])
/third_party/python/Lib/
H A Dgetopt.py11 gnu_getopt() -- Like getopt(), but allow option and non-option arguments
22 # Peter Åstrand <astrand@lysator.liu.se> added gnu_getopt().
24 # TODO for gnu_getopt():
34 __all__ = ["GetoptError","error","getopt","gnu_getopt"]
99 def gnu_getopt(args, shortopts, longopts = []): function

Completed in 1 milliseconds