Source

dictionary_switches / code / PatternRefactoring / trash / FillableCollection.py

Full commit
1
2
3
4
5
6
7
8
9
# PatternRefactoring/trash/FillableCollection.py
# Adapter that makes a Collection Fillable.

class FillableCollection(Fillable):
    def __init__(self, cc):
        self.c = cc

    def addTrash(self, t):
        self.c.add(t)