Class Parameter
A parameter. Either a Tuple or a Name (always a Name for Python 3)
Import path
import python
Direct supertypes
Indirect supertypes
Predicates
asName | Gets this parameter if it is a Name (not a Tuple) |
asTuple | Gets this parameter if it is a Tuple (not a Name) |
getAnnotation | Gets the annotation expression of this parameter |
getDefault | Gets the expression for the default value of this parameter |
getLocation | |
getName | Gets the name of this parameter |
getPosition | Gets the position of this parameter (if any). No result if this is a “varargs”, “kwargs”, or keyword-only parameter. |
getVariable | |
isKwargs | Holds if this parameter is a “kwargs” parameter. The |
isSelf | Holds if this parameter is the first parameter of a method. It is not necessarily called “self” |
isVarargs | Holds if this parameter is a “varargs” parameter. The |
Inherited predicates
toString | Gets a textual representation of this element. | from Parameter_ |