Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedroombuilds/python2rust
/ __str__
Method
__str__
1d_json/python/person.py:12–13 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
10
self.parents = parents
11
12
def
__str__(self):
13
return
", "
.join([f
"{k}: {v}"
for
k, v in self.__dict__.items()])
14
15
16
class
MyEncoder(json.JSONEncoder):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected