Calculate the product of the tuple elements.
(t: Tuple)
| 164 | |
| 165 | |
| 166 | def tuple_product(t: Tuple) -> Any: |
| 167 | """Calculate the product of the tuple elements.""" |
| 168 | result = 1 |
| 169 | |
| 170 | for v in t: |
| 171 | result *= v |
| 172 | |
| 173 | return result |
| 174 | |
| 175 | |
| 176 | _str_to_ctype = { |
nothing calls this directly
no outgoing calls
no test coverage detected