./devel/py-backcall, Specifications for callback functions passed in to an API

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q2, Version: 0.2.0, Package name: py37-backcall-0.2.0, Maintainer: pkgsrc-users

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.


Required to run:
[lang/python37]

Master sites:

SHA1: 5bc62d540af1534f23560c0c32aac1e129518cd5
RMD160: 7d42ca6b0199ab946ad86c30fc799d3a9e6c5f1e
Filesize: 17.618 KB

Version history: (Expand)