def pop_min(self):
if self.root is NULL:<EOL><INDENT>raise KeyError("<STR_LIT>")<EOL><DEDENT>self.root, value = self.root.delete_min()<EOL>self._len -= <NUM_LIT:1><EOL>return value<EOL>
Remove the minimum value and return it.