summaryrefslogtreecommitdiff
path: root/pypers/oxford/dictmixin.py
blob: d91a9f2d1c418123a4422f39922cd1c951678e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# dictmixin.py

from metatracer import MetaTracer
from UserDict import DictMixin

class TracedDM(DictMixin, object):
    __metaclass__ = MetaTracer
    def __getitem__(self, item):
        return item
    def keys(self): 
        return [1,2,3]