Skip to main content

Backport functools.singledispatch from Python 3.4 to Python 2.6-3.3.

Project description

https://img.shields.io/pypi/v/singledispatch.svg https://img.shields.io/pypi/pyversions/singledispatch.svg tests Code style: Black https://img.shields.io/badge/skeleton-2021-informational

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


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 details)

Uploaded Source

Built Distribution

singledispatch-3.6.2-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file singledispatch-3.6.2.tar.gz.

File metadata

  • Download URL: singledispatch-3.6.2.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for singledispatch-3.6.2.tar.gz
Algorithm Hash digest
SHA256 d5bb9405a4b8de48e36709238e8b91b4f6f300f81a5132ba2531a9a738eca391
MD5 3f6967ca8606c81b27731870b820c035
BLAKE2b-256 9d22e55f573ff772600858e4cb91b05f6e17edb8d4636a8af0039ceb668b51ee

See more details on using hashes here.

File details

Details for the file singledispatch-3.6.2-py2.py3-none-any.whl.

File metadata

  • Download URL: singledispatch-3.6.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for singledispatch-3.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0d428477703d8386eb6aeed6e522c9f22d49f4363cdf4ed6a2ba3dc276053e20
MD5 f253703ee1b84d97c849205ae484fa6e
BLAKE2b-256 cdd16a9e922826e03f5af7bf348cfb75bcb0bc4c67e19c36805c2545f34427e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page