def remove_handlers_bound_to_instance(self, obj):
for handler in self.handlers:<EOL><INDENT>if handler.im_self == obj:<EOL><INDENT>self -= handler<EOL><DEDENT><DEDENT>
Remove all handlers bound to given object instance.
This is useful to remove all handler methods that are part of an instance.

:param object obj: Remove handlers that are methods of this instance