MCPcopy Index your code
hub / github.com/qiwsir/StarterLearningPython / copy

Method copy

newcodes/answers/q72.py:12–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10 self._rating.sort()
11 print(self._rating)
12 def copy(self):
13 return Ratings(self)
14
15 def __setitem__(self, k, v):
16 if k in self:

Callers 1

22103.pyFile · 0.80

Calls 1

RatingsClass · 0.85

Tested by

no test coverage detected