def __setitem__(self, k, v):
        v = pickle.dumps(v)
        DirDBM.__setitem__(self, k, v)
C{shelf[foo] = bar}
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/persisted/dirdbm.py/Shelf.__setitem__