human
I wrote the below code

    __ndb_debug__ = 'SKIP'
    def positional_decorator(wrapped):
        if (not DEBUG):
            return wrapped
        __ndb_debug__ = 'SKIP'
        @wrapping(wrapped)
        def positional_wrapper(*args, **kwds):
            __ndb_debug__ = 'SKIP'
            if (len(args) > max_pos_args):
                plural_s = ''
                if (max_pos_args != 1):
                    plural_s = 's'
                raise TypeError(('%s()    takes    at    most    %d    positional    argument%s    (%d    given)' % (wrapped.__name__, max_pos_args, plural_s, len(args))))
            return wrapped(*args, **kwds)
        return positional_wrapper
    return positional_decorator

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

def positional(max_pos_args):