Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
H A Dtest_getopt.py44 opts, args = getopt.do_shorts([], 'a', 'a', [])
48 opts, args = getopt.do_shorts([], 'a1', 'a:', [])
52 #opts, args = getopt.do_shorts([], 'a=1', 'a:', [])
56 opts, args = getopt.do_shorts([], 'a', 'a:', ['1'])
60 opts, args = getopt.do_shorts([], 'a', 'a:', ['1', '2'])
64 self.assertError(getopt.do_shorts, [], 'a1', 'a', [])
65 self.assertError(getopt.do_shorts, [], 'a', 'a:', [])
/third_party/python/Lib/
H A 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

Completed in 2 milliseconds