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 in place of from functools import singledispatch.
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
singledispatch-3.6.2.tar.gz
(16.0 kB
view hashes)
Built Distribution
Close
Hashes for singledispatch-3.6.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d428477703d8386eb6aeed6e522c9f22d49f4363cdf4ed6a2ba3dc276053e20 |
|
MD5 | f253703ee1b84d97c849205ae484fa6e |
|
BLAKE2b-256 | cdd16a9e922826e03f5af7bf348cfb75bcb0bc4c67e19c36805c2545f34427e5 |