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 devel:languages:python
- Devel package for openSUSE:Factory
-
4
derived packages
- Links to openSUSE:Factory / python-backcall
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/python-backcall && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
backcall-0.2.0.tar.gz | 0000018041 17.6 KB | |
python-backcall.changes | 0000001139 1.11 KB | |
python-backcall.spec | 0000002032 1.98 KB |
Latest Revision
buildservice-autocommit
accepted
request 1081987
from
Dirk Mueller (dirkmueller)
(revision 9)
baserev update by copy to link target
Comments 0