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