ID EN
Contextlib

callback

Python 3.11

Accepts an arbitrary callback function and arguments and adds it to the callback stack.

Syntax

PYTHON
callback(callback, /, *args, **kwds)