Home
last modified time | relevance | path

Searched refs:do_shorts (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/test/
Dtest_getopt.py48 opts, args = getopt.do_shorts([], 'a', 'a', [])
52 opts, args = getopt.do_shorts([], 'a1', 'a:', [])
60 opts, args = getopt.do_shorts([], 'a', 'a:', ['1'])
64 opts, args = getopt.do_shorts([], 'a', 'a:', ['1', '2'])
68 self.assertError(getopt.do_shorts, [], 'a1', 'a', [])
69 self.assertError(getopt.do_shorts, [], 'a', 'a:', [])
/third_party/python/Lib/
Dgetopt.py95 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
138 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
192 def do_shorts(opts, optstring, shortopts, args): function