Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ A
Class
A
extra_tests/snippets/stdlib_math.py:51–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
50
51
class
A(object):
52
def
__trunc__(self):
53
return
2
54
55
def
__ceil__(self):
56
return
3
57
58
def
__floor__(self):
59
return
4
60
61
62
assert math.trunc(A()) == 2
Callers
1
stdlib_math.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected