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.
- Sources inherited from project openSUSE:Backports:SLE-15-SP1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP1:Update/python-backcall && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
LICENSE | 0000001490 1.46 KB | |
backcall-0.1.0.tar.gz | 0000009690 9.46 KB | |
python-backcall.changes | 0000000472 472 Bytes | |
python-backcall.spec | 0000002116 2.07 KB |
Latest Revision
Ismail Dönmez (namtrac)
committed
(revision 2)
osc copypac from project:openSUSE:Leap:15.1 package:python-backcall revision:1
Comments 0