human
Here's a good function header given the following:
I wrote the below code

    def decorator(func):
        @functools.wraps(func)
        def wrapper(self, *args, **kwargs):
            name = '_'.join(((prefix, func.__name__) + args))
            lock = MemcacheLock(name, expires=expires)
            if lock.locked():
                log.warning(('Lock    %s    locked.
   ignoring    call.' % name))
                return
            try:
                lock.acquire()
            except MemcacheLockException:
                log.warning(('Aborting    %s.
   lock    acquisition    failed.' % name))
                return
            else:
                try:
                    return func(self, *args, **kwargs)
                finally:
                    lock.release()
        return wrapper
    return decorator

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

def memcache_lock(prefix, expires=(60 * 60)):