Backport functools.singledispatch from Python 3.4 to Python 2.6-3.3.
Project description
PEP 443 proposed to expose a mechanism in the functools standard library module in Python 3.4 that provides a simple form of generic programming known as single-dispatch generic functions.
This library is a backport of this functionality and its evolution.
Refer to the upstream documentation for API guidance. To use the backport, simply use from singledispatch import singledispatch, singledispatchmethod in place of from functools import singledispatch, singledispatchmethod.
Maintenance
This backport is maintained on Github by Jason R. Coombs, one of the members of the core CPython team:
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
Built Distribution
Hashes for singledispatch-3.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc77afa97c8a22596d6d4fc20f1b7bdd2b86edc2a65a4262bdd7cc3cc19aa989 |
|
MD5 | 2bad40f0b0c6eeef2da86ad16d2dd762 |
|
BLAKE2b-256 | 3f092a17c6505a8373229cb3de6161e3af74ff90afcf4516719aa6cf32fad151 |