atom.tuple module
- class atom.tuple.FixedTuple(*items, default=None)[source]
Bases:
Member
A member which allows tuple values with a fixed number of items.
Items are always validated and can be of different types. Assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
- clone()[source]
Create a clone of the tuple.
This will clone the internal tuple item if one is in use.
- class atom.tuple.Tuple(item=None, default=())[source]
Bases:
Member
A member which allows tuple values.
If item validation is used, then assignment will create a copy of the original tuple before validating the items, since validation may change the item values.
- clone()[source]
Create a clone of the tuple.
This will clone the internal tuple item if one is in use.
- item