A more fine-grained functools.singledispatch
Project description
Like functools.singledispatch, but will allow to register multiple functions for each class.
If a registered function decides it cannot handle the value after inspecting it, it can give up and let others try their luck.
TODO: This is just a straight port of singledispatch to a class at the moment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
allot-0.1.tar.gz
(17.8 kB
view hashes)
Built Distribution
allot-0.1-py3-none-any.whl
(38.0 kB
view hashes)