def del_method(self, m):
if isinstance(m, types.FunctionType) and not iscoroutinefunction(m):<EOL><INDENT>wrkey = ('<STR_LIT>', id(m))<EOL><DEDENT>else:<EOL><INDENT>f, obj = get_method_vars(m)<EOL>wrkey = (f, id(obj))<EOL><DEDENT>if wrkey in self:<EOL><INDENT>del self[wrkey]<EOL><DEDENT>
Remove an instance method or function if it exists

        Args:
            m: The instance method or function to remove