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 details)
Built Distribution
allot-0.1-py3-none-any.whl
(38.0 kB
view details)
File details
Details for the file allot-0.1.tar.gz
.
File metadata
- Download URL: allot-0.1.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.21.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f44097e3c1064b98cf8e87d329c2c985104e1cc71163380820a32a40dc173f |
|
MD5 | 8670c7ad278f48b5bc29dac719128b11 |
|
BLAKE2b-256 | 20fc64845df6e10493534ae41344427270400454e08e226fd9dd5086d4db41a4 |
File details
Details for the file allot-0.1-py3-none-any.whl
.
File metadata
- Download URL: allot-0.1-py3-none-any.whl
- Upload date:
- Size: 38.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.21.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce4b794dfb215866bb7096ecda870cbacf048fd982a4af78bfe368a2e754ddd2 |
|
MD5 | f223b845f1260034f2f03835b2e85912 |
|
BLAKE2b-256 | 749b3a077af552eae93d7752fe52c282bb9ce7b2cddf1a6c868bec6284230345 |