Asynchronous programming

Chris Angelico rosuav at gmail.com
Thu Aug 11 06:06:28 EDT 2016


On Thu, Aug 11, 2016 at 7:45 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> I don't know whether you would call that a callback. I suppose it could be, in
> the sense that you might say:
>
>     button.set_mouseup_function(mouseUp)
>
> but I'm used to thinking of it as a property of the button.

"Callback" simply means "function that someone else calls". In fact,
most dunder methods could be described as callbacks.

ChrisA



More information about the Python-list mailing list