def key(self):
        """Returns the iterator's current key. You should be sure the iterator
        is currently valid first by calling valid()

        @rtype: string
        """
        key = self._impl.key()
        if self._prefix is not None:
            return key[len(self._prefix):]
        return key
Returns the iterator's current key. You should be sure the iterator
        is currently valid first by calling valid()

        @rtype: string
        
pymclevel/leveldb.py