(self, typ: Parameters)
| 450 | return ("UnpackType", snapshot_type(typ.type)) |
| 451 | |
| 452 | def visit_parameters(self, typ: Parameters) -> SnapshotItem: |
| 453 | return ( |
| 454 | "Parameters", |
| 455 | snapshot_types(typ.arg_types), |
| 456 | tuple(encode_optional_str(name) for name in typ.arg_names), |
| 457 | tuple(k.value for k in typ.arg_kinds), |
| 458 | ) |
| 459 | |
| 460 | def visit_callable_type(self, typ: CallableType) -> SnapshotItem: |
| 461 | if typ.is_generic(): |
nothing calls this directly
no test coverage detected