Argument#
- class src.pyconverter.xml2py.ast_tree.Argument(terms, element: str | Element, initial_arguments: List, description: Element | str | None = None)#
Argument object.
Overview#
Resize the description to a maximum length. |
|
Return a list of string to enable converting the element to an RST format. |
Python-compatible term. |
|
Description of the argument. |
|
Check if the argument is an ellipsis. |
|
One or more parameter types. |
Import detail#
from src.pyconverter.xml2py.ast_tree import Argument
Property detail#
- property Argument.is_arg_ellipsis#
Check if the argument is an ellipsis.
- Returns:
- bool
True if the argument is an ellipsis, False otherwise.
- property Argument.multiple_args#