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.
- Links to openSUSE:Factory / python-backcall
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:wicked:qubes-build/python-backcall && cd $_
- Create Badge
Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename | Size | Changed |
---|---|---|
_link | 0000000458 458 Bytes |
Latest Revision
Teemu Mannermaa (wicked)
committed
(revision 1)
Comments 0