Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ FloatFloor
Class
FloatFloor
Lib/test/test_math.py:536–538 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
534
def
__floor__(self):
535
return
42
536
class
FloatFloor(float):
537
def
__floor__(self):
538
return
42
539
class
TestNoFloor:
540
pass
541
class
TestBadFloor:
Callers
1
testFloor
Method · 0.85
Calls
no outgoing calls
Tested by
1
testFloor
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…