Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_getopt.py72 opts, args = getopt.do_longs([], 'abc', ['abc'], [])
76 opts, args = getopt.do_longs([], 'abc=1', ['abc='], [])
80 opts, args = getopt.do_longs([], 'abc=1', ['abcd='], [])
84 opts, args = getopt.do_longs([], 'abc', ['ab', 'abc', 'abcd'], [])
91 opts, args = getopt.do_longs([], 'foo=42', ['foo-bar', 'foo=',], [])
95 self.assertError(getopt.do_longs, [], 'abc=1', ['abc'], [])
96 self.assertError(getopt.do_longs, [], 'abc', ['abc='], [])
/third_party/python/Lib/
Dgetopt.py93 opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
136 opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
149 def do_longs(opts, opt, longopts, args): function