Backport functools.singledispatch to older Pythons.
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:
For Enterprise
Available as part of the Tidelift Subscription.
This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
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
File details
Details for the file singledispatch-4.1.0.tar.gz
.
File metadata
- Download URL: singledispatch-4.1.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3430b886d5b4213d07d715096a75da5e4a8105284c497b9aee6d6d48bfe90cb |
|
MD5 | 4bf163cc626caa9450856a370815c65e |
|
BLAKE2b-256 | b76e1f1f4067cd963dc0f5c36953dca67a12f67fd65309dbcd14f4a6c5b2b7f0 |
File details
Details for the file singledispatch-4.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: singledispatch-4.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6061bd291204beaeac90cdbc342b68d213b7a6efb44ae6c5e6422a78be351c8a |
|
MD5 | e07166eecdfb26f0869a658312b21dc6 |
|
BLAKE2b-256 | 1dd637db443dbd998b427c7c73fb083208e0e33098c028b37639784ac6eb3de4 |