On Sun, Apr 26, 2020 at 4:12 AM Kirill Balunov <[email protected]> wrote:
>
> But you also can always make such a switch with functools.partial.
>

Yes, I mentioned a wrapper function already, but that's still less
clean than a simple import.

ChrisA
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/Z6KKVDLSQROSTMAWCFMB3ZCBAICZUUOD/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to