Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __str__
Method
__str__
Lib/test/test_descr.py:2794–2795 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2792
class
octlong(int):
2793
__slots__ = []
2794
def
__str__(self):
2795
return
oct(self)
2796
def
__add__(self, other):
2797
return
self.__class__(super(octlong, self).__add__(other))
2798
__radd__ = __add__
Callers
nothing calls this directly
Calls
1
oct
Function · 0.85
Tested by
no test coverage detected