def unregister_handler(self, name, handler, esc_strings):
try:<EOL><INDENT>del self._handlers[name]<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>for esc_str in esc_strings:<EOL><INDENT>h = self._esc_handlers.get(esc_str)<EOL>if h is handler:<EOL><INDENT>del self._esc_handlers[esc_str]<EOL><DEDENT><DEDENT>
Unregister a handler instance by name with esc_strings.