Table 2.
Type | Type in XML | Example values | Nestable |
---|---|---|---|
Boolean | boolean, bool, b | “True,” “true,” “1” | No |
Integer | integer, int, i | “1” | No |
Float | float, f | “1.0” | No |
Long | long, l | “1” | No |
Complex | complex, cmplx, c | “(1 + 0j),” “(1 + 0i)” | No |
String | string, str, s | “foo” | No |
List | list | Yes | |
Tuple | tuple | Yes | |
Set | set | Yes | |
Frozenset | frozenset | Yes | |
Dictionary | dict | Yes | |
None | None | No |