On Sun, Apr 26, 2020 at 4:12 AM Kirill Balunov <kirillbalu...@gmail.com> 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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/Z6KKVDLSQROSTMAWCFMB3ZCBAICZUUOD/ Code of Conduct: http://python.org/psf/codeofconduct/