human
I wrote the below code

    def new_read_meth(inst):
        try:
            return read_meth(inst)
        except httplib.HTTPException:
            inst.close()
            raise
    return new_read_meth

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def close_on_error(read_meth):