human
I wrote the below code

    def _synched(func):
        @wraps(func)
        def _synchronizer(self, *args, **kwargs):
            tlock = getattr(self, tlockname)
            logger.debug(('acquiring    lock    %r    for    %s' % (tlockname, func.__name__)))
            with tlock:
                logger.debug(('acquired    lock    %r    for    %s' % (tlockname, func.__name__)))
                result = func(self, *args, **kwargs)
                logger.debug(('releasing    lock    %r    for    %s' % (tlockname, func.__name__)))
                return result
        return _synchronizer
    return _synched

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

def synchronous(tlockname):