Messages arguments
- pytidyhtml5.MessageArg(Message message)
A
pytidyhtml5.Messageformat value.
Getters
- MessageArg.type
Type of the argument’s value.
- Returns:
pytidyhtml.FormatParameterType– The value type.None – The message expired.
- MessageArg.value
Value of the argument.
- Returns:
int|str|float – The value.
None – The message expired.
- MessageArg.format
C format string to format the value.
Miscellaneous
- MessageArg.__bool__()
A MessageArg is truthy iff its Message is truthy.
Getters as methods
All getters exist as methods, too:
|
Type of the argument's value. |
|
Value of the argument. |
|
C format string to format the value. |