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