Function cpython::argparse::parse_args
[−]
[src]
pub fn parse_args(py: Python, fname: Option<&str>, params: &[ParamDescription], args: &PyTuple, kwargs: Option<&PyDict>, output: &mut [Option<PyObject>]) -> PyResult<()>
Parse argument list
- fname: Name of the current function
- params: Declared parameters of the function
- args: Positional arguments
- kwargs: Keyword arguments
- output: Output array that receives the arguments.
Must have same length as
paramsand must be initialized toNone.