On Sun, 18 Sept 2022 at 10:29, <avi.e.gr...@gmail.com> wrote:
>
>
> From your description, Chris, it sounds like the functional programming
> technique often called currying. A factory function is created where one (or
> more) parameters are sort of frozen in so the user never sees or cares about
> them, and a modified or wrapped function is returned. In this case, the
> function now knows what object it is attached to as this.
>

Correct. I avoided the technical term but that is exactly what's happening.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to