Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __sub__
Method
__sub__
numpy/typing/tests/data/pass/arithmetic.py:34–35 ·
view source on GitHub ↗
(self, value: Any)
Source
from the content-addressed store, hash-verified
32
return
ret
33
34
def
__sub__(self, value: Any) -> Object:
35
return
self
36
37
def
__rsub__(self, value: Any) -> Object:
38
return
self
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected