Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ I
Class
I
Lib/test/test_str.py:1138–1140 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1136
return
object.__format__(self, format_spec)
1137
1138
class
I(datetime.date):
1139
def
__format__(self, format_spec):
1140
return
self.strftime(format_spec)
1141
1142
class
J(int):
1143
def
__format__(self, format_spec):
Callers
1
test_format
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_format
Method · 0.56