At last! Haven't used single dispatch exactly because of that. Thank you savior! +1
On Tue, Sep 20, 2016, 6:03 AM Tim Mitchell email@example.com wrote:
We have a modified version of singledispatch at work which works for methods as well as functions. We have open-sourced it as methoddispatch (pypi: https://pypi.python.org/pypi/methoddispatch).
IMHO I thought it would make a nice addition to python stdlib.
What does everyone else think?
Python-ideas mailing list Pythonfirstname.lastname@example.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/