Cast elements of an iterable object into a tuple of some type. A partial method of :func:`iter_cast`.
(inputs, dst_type)
| 111 | |
| 112 | |
| 113 | def tuple_cast(inputs, dst_type): |
| 114 | """Cast elements of an iterable object into a tuple of some type. |
| 115 | A partial method of :func:`iter_cast`. |
| 116 | """ |
| 117 | return iter_cast(inputs, dst_type, return_type=tuple) |
| 118 | |
| 119 | |
| 120 | def is_seq_of(seq, expected_type, seq_type=None): |
nothing calls this directly
no test coverage detected