Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
x.__add__(y) <==> x+y

src/p/y/pyQCD-HEAD/pyQCD/test/test_pyQCD.py   pyQCD(Download)
    def __add__(self, x):
        return floatWrapper(float.__add__(self, x))
 
    def __sub__(self, x):
        return floatWrapper(float.__sub__(self, x))

src/s/y/Sypy-HEAD/objspace/std/test/test_floatobject.py   Sypy(Download)
    def test_multimethod_slice(self):
        assert 5 .__add__(3.14) is NotImplemented
        assert 3.25 .__add__(5) == 8.25
        # xxx we are also a bit inconsistent about the following
        #if hasattr(int, '__eq__'):  # for py.test -A: CPython is inconsistent

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/objspace/std/test/test_floatobject.py   plexnet(Download)
    def test_multimethod_slice(self):
        assert 5 .__add__(3.14) is NotImplemented
        assert 3.25 .__add__(5) == 8.25
        if hasattr(int, '__eq__'):  # for py.test -A: CPython is inconsistent
            assert 5 .__eq__(3.14) is NotImplemented