Searched refs:gnu_getopt (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_getopt.py | 116 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 D | getopt.py | 11 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