README.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .. image:: https://img.shields.io/pypi/v/singledispatch.svg
  2. :target: `PyPI link`_
  3. .. image:: https://img.shields.io/pypi/pyversions/singledispatch.svg
  4. :target: `PyPI link`_
  5. .. _PyPI link: https://pypi.org/project/singledispatch
  6. .. image:: https://github.com/jaraco/singledispatch/workflows/tests/badge.svg
  7. :target: https://github.com/jaraco/singledispatch/actions?query=workflow%3A%22tests%22
  8. :alt: tests
  9. .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  10. :target: https://github.com/psf/black
  11. :alt: Code style: Black
  12. .. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
  13. .. :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
  14. .. image:: https://img.shields.io/badge/skeleton-2021-informational
  15. :target: https://blog.jaraco.com/skeleton
  16. `PEP 443 <http://www.python.org/dev/peps/pep-0443/>`_ proposed to expose
  17. a mechanism in the ``functools`` standard library module in Python 3.4
  18. that provides a simple form of generic programming known as
  19. single-dispatch generic functions.
  20. This library is a backport of this functionality and its evolution.
  21. Refer to the `upstream documentation
  22. <http://docs.python.org/3/library/functools.html#functools.singledispatch>`_
  23. for API guidance. To use the backport, simply use
  24. ``from singledispatch import singledispatch, singledispatchmethod`` in place of
  25. ``from functools import singledispatch, singledispatchmethod``.
  26. Maintenance
  27. -----------
  28. This backport is maintained on Github by Jason R. Coombs, one of the
  29. members of the core CPython team:
  30. * `repository <https://github.com/jaraco/singledispatch>`_
  31. * `issue tracker <https://github.com/jaraco/singledispatch/issues>`_