Specifications for callback functions passed in to an API

If your code lets other people supply callback functions, it’s important to specify the function signature you expect, and check that functions support that. Adding extra parameters later would break other peoples code unless you’re careful.

backcall provides a way of specifying the callback signature using a prototype function.

Refresh
Refresh
Source Files
Filename Size Changed
backcall-0.2.0.tar.gz 0000018041 17.6 KB 7 months
python-backcall.changes 0000000780 780 Bytes 7 months
python-backcall.spec 0000002000 1.95 KB 6 months
Comments for python-backcall 0
openSUSE Build Service is sponsored by