Positional
Positional¶
- class Positional[source]¶
Bases:
enum.Enum
Describes the positional behavior of a parameter
Attributes
Note: attributes inherited from parent classes are not shown here, if any
Eats a single positional value
Eats as many positional values as possible
Eats as many positional values as possible, but at least one
Methods
Returns whether a positional parameter should be the last one
List of members of Positional
- ONCE = 1¶
Eats a single positional value
- ZERO_OR_MORE = 2¶
Eats as many positional values as possible
- ONE_OR_MORE = 3¶
Eats as many positional values as possible, but at least one