:orphan: .. _s_11PytoRuntime14ArgumentParserV5parsexxQp_tyKRvzAA8ParsableRzlF: ``parse()`` =========== Parses multiple arguments by name to a Swift value. .. raw:: html .. rubric:: Declaration .. raw:: html
func parse <each T>() throws -> (
       repeat each T
   ) where repeat each T: Parsable
   
.. rubric:: Throws A ``TypeError`` if the arguments don’t match or a conversion error from :swift:symbol:`PytoRuntime.Parsable.from(pythonObject:interpreter:)`. .. rubric:: Returns A variadic generic tuple of Swift values. .. rubric:: Discussion It needs the called method to have an explicit signature and throws an error if the conversion failed or the method got unexpected arguments. .. rubric:: Usage .. code-block:: swift let (string, integer): (String, Int) = try argumentParser.parse()