Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)
x.__sub__(y) <==> x-y

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/objspace/std/test/test_operation.py   plexnet(Download)
    teq( 5   .__sub__(2  ), 3   )
    teq( 5   .__sub__(2.0), NotImplemented )
    teq( 5.0 .__sub__(2  ), 3.0 )
    teq( 5.0 .__sub__(2.0), 3.0 )
 
 
    teq( 5L  .__sub__(2.0), NotImplemented )
    teq( 5.0 .__sub__(2L ), 3.0 )
 
    teq( 5L  .__rsub__(2.0), NotImplemented )

src/s/y/Sypy-HEAD/objspace/std/test/test_operation.py   Sypy(Download)
    teq( 5   .__sub__(2  ), 3   )
    teq( 5   .__sub__(2.0), NotImplemented )
    teq( 5.0 .__sub__(2  ), 3.0 )
    teq( 5.0 .__sub__(2.0), 3.0 )
 
 
    teq( 5L  .__sub__(2.0), NotImplemented )
    teq( 5.0 .__sub__(2L ), 3.0 )
 
    teq( 5L  .__rsub__(2.0), NotImplemented )