Lines Matching refs:tvars
168 tvars = []
170 if isinstance(t, TypeVar) and t not in tvars:
171 tvars.append(t)
173 tvars.extend([t for t in t.__parameters__ if t not in tvars])
174 return tuple(tvars)
177 def _subs_tvars(tp, tvars, subs): argument
186 for i, tvar in enumerate(tvars):
190 new_args[a] = _subs_tvars(arg, tvars, subs)
843 tvars = []
851 tvars = _collect_type_vars(cls.__orig_bases__)
866 gvars = tvars
868 tvarset = set(tvars)
871 s_vars = ', '.join(str(t) for t in tvars if t not in gvarset)
875 tvars = gvars
876 cls.__parameters__ = tuple(tvars)