Lines Matching refs:S
183 def _coerce(T, S): argument
194 if T is S: return T
196 if S is int or S is bool: return T
197 if T is int: return S
199 if issubclass(S, T): return S
200 if issubclass(T, S): return T
202 if issubclass(T, int): return S
203 if issubclass(S, int): return T
205 if issubclass(T, Fraction) and issubclass(S, float):
206 return S
207 if issubclass(T, float) and issubclass(S, Fraction):
211 raise TypeError(msg % (T.__name__, S.__name__))