'C{del dirdbm[foo]}
Delete a file in this directory.
@type k: bytes
@param k: key to delete
@raise KeyError: Raised when there is no such key'

def __delitem__(self, k):

    if (not (type(k) == bytes)):
        raise TypeError('DirDBM    key    must    be    bytes')
    k = self._encode(k)
    try:
        self._dnamePath.child(k).remove()
    except EnvironmentError:
        raise KeyError(self._decode(k))
