180
181
"""A single hook that clients can register to be called back when it fires.
182
183
:ivar name: The name of the hook.
183
185
:ivar introduced: A version tuple specifying what version the hook was
184
186
introduced in. None indicates an unknown version.
185
187
:ivar deprecated: A version tuple specifying what version the hook was
186
188
deprecated or superseded in. None indicates that the hook is not
187
189
superseded or deprecated. If the hook is superseded then the doc
188
190
should describe the recommended replacement hook to register for.
192
193
def __init__(self, name, doc, introduced, deprecated):