Searched refs:_hasattr (Results 1 – 2 of 2) sorted by relevance
24 def _hasattr(C, attr): function66 if _hasattr(C, "__iter__"):86 if _hasattr(C, "next") and _hasattr(C, "__iter__"):101 if _hasattr(C, "__len__"):116 if _hasattr(C, "__contains__"):131 if _hasattr(C, "__call__"):
424 def _hasattr(self, attr): member in Object