At last! Haven't used single dispatch exactly because of that. Thank you savior!
Hi All,_______________________________________________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
Code of Conduct: http://python.org/psf/codeofconduct/