human
I wrote the below code

    def _execute(pkg):
        if checksum:
            kwargs['md5'] = checksum
        pkg.versions[Version(ver)] = kwargs
    return _execute

What's a good function header?

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

@directive('versions')
def version(ver, checksum=None, **kwargs):