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

Method describe

29_pattern_matching_revisited/python/cmd_split.py:12–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10 if objs is None:
11 self.objects = set(["banana", "chair", "piano"])
12 def describe(self):
13 print("the room is dark and small, it contains", self.objects);
14 def neighbor(self, direction):
15 match direction:
16 case "left":

Callers 1

cmd_split.pyFile · 0.45

Calls 1

printFunction · 0.50

Tested by

no test coverage detected