Searched refs:parse_intermixed_args (Results 1 – 5 of 5) sorted by relevance
5103 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([])
2083 .. 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 any2151 by using :meth:`~ArgumentParser.parse_intermixed_args` instead of
2335 def parse_intermixed_args(self, args=None, namespace=None): member in ArgumentParser
625 The new :meth:`ArgumentParser.parse_intermixed_args()626 <argparse.ArgumentParser.parse_intermixed_args>`
1685 A new function ``argparse.ArgumentParser.parse_intermixed_args`` provides