Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ conjugate
Method
conjugate
Lib/numbers.py:285–287 ·
view source on GitHub ↗
Conjugate is a no-op for Reals.
(self)
Source
from the content-addressed store, hash-verified
283
return
0
284
285
def
conjugate(self):
286
""
"Conjugate is a no-op for Reals."
""
287
return
+self
288
289
Real.register(float)
290
Callers
9
test_conjugate
Method · 0.45
test_int
Method · 0.45
test_float
Method · 0.45
test_real
Method · 0.45
builtin_float.py
File · 0.45
builtin_complex.py
File · 0.45
syntax_class.py
File · 0.45
builtin_bool.py
File · 0.45
builtin_type.py
File · 0.45
Calls
no outgoing calls
Tested by
4
test_conjugate
Method · 0.36
test_int
Method · 0.36
test_float
Method · 0.36
test_real
Method · 0.36