def pop(self, key, default=__marker):
if key in self:<EOL><INDENT>result = self[key]<EOL>del self[key]<EOL>return result<EOL><DEDENT>if default is self.__marker:<EOL><INDENT>raise KeyError(key)<EOL><DEDENT>return default<EOL>
od.pop(k[,d]) -> v, remove specified key and return the corresponding value.
        If key is not found, d is returned if given, otherwise KeyError is raised.