Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_getopt.py30 has_arg, option = getopt.long_has_args('abc', ['abc='])
34 has_arg, option = getopt.long_has_args('abc', ['abc'])
38 has_arg, option = getopt.long_has_args('abc', ['abcd'])
42 self.assertError(getopt.long_has_args, 'abc', ['def'])
43 self.assertError(getopt.long_has_args, 'abc', [])
44 self.assertError(getopt.long_has_args, 'abc', ['abcd','abcde'])
/external/python/cpython2/Lib/
Dgetopt.py152 has_arg, opt = long_has_args(opt, longopts)
166 def long_has_args(opt, longopts): function