(self, arg)
| 1133 | |
| 1134 | |
| 1135 | def _paramspec_subst(self, arg): |
| 1136 | if isinstance(arg, (list, tuple)): |
| 1137 | arg = tuple(_type_check(a, "Expected a type.") for a in arg) |
| 1138 | elif not _is_param_expr(arg): |
| 1139 | raise TypeError(f"Expected a list of types, an ellipsis, " |
| 1140 | f"ParamSpec, or Concatenate. Got {arg}") |
| 1141 | return arg |
| 1142 | |
| 1143 | |
| 1144 | def _paramspec_prepare_subst(self, alias, args): |
nothing calls this directly
no test coverage detected
searching dependent graphs…