コード例 #1
0
ファイル: weakref.py プロジェクト: jmbarre2/web_scrape
 def __ne__(self, other):
     if isinstance(other, WeakMethod):
         if not self._alive or not other._alive:
             return self is not other
         return ref.__ne__(self, other) or self._func_ref != other._func_ref
     return True
コード例 #2
0
ファイル: weakref.py プロジェクト: AbuzzT/BR
 def __ne__(self, other):
     if isinstance(other, WeakMethod):
         if not self._alive or not other._alive:
             return self is not other
         return ref.__ne__(self, other) or self._func_ref != other._func_ref
     return True