Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

python-backcall 0.1.0 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. The backcall package provides a way of specifying the callback signature using a prototype function.