Backport of 'functools.singledispatchmethod' from Python 3.8 to Python 2.7 - 3.7.
-
Updated
Aug 12, 2019 - Python
Backport of 'functools.singledispatchmethod' from Python 3.8 to Python 2.7 - 3.7.
A Python package for advanced function dispatching and method overloading based on complex, nested, and parameterized types. Inspired by functools' singledispatch decorator.
A singledispatch() for arguments that are classes annotated as specific types.
This repository contains practise programs for beginners.
Custom JSON Encoder for Python utilising functools.singledispatch to support custom encoders for both Python's built-in classes and user-created classes, without as much legwork.
Add a description, image, and links to the singledispatch topic page so that developers can more easily learn about it.
To associate your repository with the singledispatch topic, visit your repo's landing page and select "manage topics."