Table of Contents

Overloading

Single dispatch

PEP 443 – Single-dispatch generic functions

Overload in typing library

// Is for type checking only, the actual implementation is still just done in one function. I guess these days since you can define multiple input types and return types with type hints i guess this decorator may be considered obsolete.//

Overload (python docs)