Plurrrr

Fri 07 Feb 2020

Overload Functions in Python

Function overloading is the ability to have multiple functions with the same name but with different signatures/implementations. When an overloaded function fn is called, the runtime first evaluates the arguments/parameters passed to the function call and judging by this invokes the corresponding implementation.

Source: Overload Functions in Python, an article by Arpit Bhayani.