Home
last modified time | relevance | path

Searched refs:parse_intermixed_args (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_argparse.py5103 args = parser.parse_intermixed_args(argv)
5132 parser.parse_intermixed_args(argv)
5142 args = parser.parse_intermixed_args('1 --foo 2'.split())
5144 self.assertRaises(ArgumentParserError, parser.parse_intermixed_args, '1 2'.split())
5154 self.assertRaises(TypeError, parser.parse_intermixed_args, [])
5172 parser.parse_intermixed_args([])
/third_party/python/Doc/library/
Dargparse.rst2083 .. method:: ArgumentParser.parse_intermixed_args(args=None, namespace=None)
2087 positional arguments. The :meth:`~ArgumentParser.parse_intermixed_args`
2098 :meth:`~ArgumentParser.parse_intermixed_args`: the former returns ``['2',
2108 >>> parser.parse_intermixed_args('doit 1 --foo bar 2 3'.split())
2113 :meth:`~ArgumentParser.parse_intermixed_args` raises an error if there are any
2151 by using :meth:`~ArgumentParser.parse_intermixed_args` instead of
/third_party/python/Lib/
Dargparse.py2335 def parse_intermixed_args(self, args=None, namespace=None): member in ArgumentParser
/third_party/python/Doc/whatsnew/
D3.7.rst625 The new :meth:`ArgumentParser.parse_intermixed_args()
626 <argparse.ArgumentParser.parse_intermixed_args>`
/third_party/python/Misc/NEWS.d/
D3.7.0a1.rst1685 A new function ``argparse.ArgumentParser.parse_intermixed_args`` provides