Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ RectComplex
Class
RectComplex
Lib/test/test_fractions.py:283–284 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
281
numbers.Complex.register(Rect)
282
283
class
RectComplex(Rect, complex):
284
pass
285
286
class
Ratio:
287
def
__init__(self, ratio):
Callers
3
testMixedMultiplication
Method · 0.85
testMixedIntegerDivision
Method · 0.85
testMixedPower
Method · 0.85
Calls
no outgoing calls
Tested by
3
testMixedMultiplication
Method · 0.68
testMixedIntegerDivision
Method · 0.68
testMixedPower
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…