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