Return a copy of this type with the specified name.
(self, name: str)
| 2324 | return visitor.visit_callable_type(self) |
| 2325 | |
| 2326 | def with_name(self, name: str) -> CallableType: |
| 2327 | """Return a copy of this type with the specified name.""" |
| 2328 | return self.copy_modified(ret_type=self.ret_type, name=name) |
| 2329 | |
| 2330 | def get_name(self) -> str | None: |
| 2331 | return self.name |
nothing calls this directly
no test coverage detected