human
I wrote the below code

    def synchronized_wrapper(self, *args):
        with self._lock:
            return method(self, *args)
    return synchronized_wrapper

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

def _synchronized(method):