aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-multimethod/pkg-descr
blob: fd98808fc00336f149cfa15799c43d11afad98d2 (plain) (blame)
1
2
3
4
5
6
7
Multimethod provides a decorator for adding multiple argument dispatching to
functions. The decorator creates a multimethod object as needed, and registers
the function with its annotations.

There are several multiple dispatch libraries on PyPI. This one aims for
simplicity and speed. With caching of argument types, it should be the fastest
pure Python implementation possible.