MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / getter

Function getter

28_rusty_python/python/higher_order.py:11–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9 }
10
11 def getter(self):
12 return getattr(self, propname, default)
13
14 def setter(self, value):
15 if isinstance(value, int):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected