-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
Hello Zed,
I think this is a very good example of how to use composition in Python to wrap a class. However, the return functions are missing from "count" and "unshift".
def unshift(self):
"""Removes the head item and returns it."""
return self.list.unshift()
def count(self):
return self.list.count()
self.list.shift() |
Metadata
Metadata
Assignees
Labels
No labels