(self, arg)
| 1085 | |
| 1086 | |
| 1087 | def _paramspec_subst(self, arg): |
| 1088 | if isinstance(arg, (list, tuple)): |
| 1089 | arg = tuple(_type_check(a, "Expected a type.") for a in arg) |
| 1090 | elif not _is_param_expr(arg): |
| 1091 | raise TypeError(f"Expected a list of types, an ellipsis, " |
| 1092 | f"ParamSpec, or Concatenate. Got {arg}") |
| 1093 | return arg |
| 1094 | |
| 1095 | |
| 1096 | def _paramspec_prepare_subst(self, alias, args): |
nothing calls this directly
no test coverage detected