Searched refs:__cast (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ |
D | UserList.py | 17 def __lt__(self, other): return self.data < self.__cast(other) 18 def __le__(self, other): return self.data <= self.__cast(other) 19 def __eq__(self, other): return self.data == self.__cast(other) 20 def __ne__(self, other): return self.data != self.__cast(other) 21 def __gt__(self, other): return self.data > self.__cast(other) 22 def __ge__(self, other): return self.data >= self.__cast(other) 23 def __cast(self, other): member in UserList 27 return cmp(self.data, self.__cast(other))
|
/external/python/cpython2/Lib/test/ |
D | test_richcmp.py | 63 return Vector([a < b for a, b in zip(self.data, self.__cast(other))]) 66 return Vector([a <= b for a, b in zip(self.data, self.__cast(other))]) 69 return Vector([a == b for a, b in zip(self.data, self.__cast(other))]) 72 return Vector([a != b for a, b in zip(self.data, self.__cast(other))]) 75 return Vector([a > b for a, b in zip(self.data, self.__cast(other))]) 78 return Vector([a >= b for a, b in zip(self.data, self.__cast(other))]) 80 def __cast(self, other): member in Vector
|
/external/python/cpython3/Lib/test/ |
D | test_richcmp.py | 63 return Vector([a < b for a, b in zip(self.data, self.__cast(other))]) 66 return Vector([a <= b for a, b in zip(self.data, self.__cast(other))]) 69 return Vector([a == b for a, b in zip(self.data, self.__cast(other))]) 72 return Vector([a != b for a, b in zip(self.data, self.__cast(other))]) 75 return Vector([a > b for a, b in zip(self.data, self.__cast(other))]) 78 return Vector([a >= b for a, b in zip(self.data, self.__cast(other))]) 80 def __cast(self, other): member in Vector
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 1075 def __lt__(self, other): return self.data < self.__cast(other) 1076 def __le__(self, other): return self.data <= self.__cast(other) 1077 def __eq__(self, other): return self.data == self.__cast(other) 1078 def __gt__(self, other): return self.data > self.__cast(other) 1079 def __ge__(self, other): return self.data >= self.__cast(other) 1080 def __cast(self, other): member in UserList
|