Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __neg__
Method
__neg__
numpy/_utils/_pep440.py:70–71 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
68
return
True
69
70
def
__neg__(self):
71
return
NegativeInfinity
72
73
74
Infinity = Infinity()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected