`wrapper``. See :ref:`old_style_hookwrapper`.

:param specname:
    If provided, the given name will be used instead of the function
    name when matching this hook implementation to a hook specification
    during registration. See :ref:`specname`.

.. versionadded:: 1.2.0
    The ``wrapper`` parameter.
c