Skip to content

00Julian00/Function-overloading-for-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Function overloading for python

This is a small script that allows C++ style function overloading, meaning there can be multiple functions with the same name but different parameters in the same scope and what parameters you pass to the function call will decide which of them will be called. To get started, import overload and for every function with the same name, add the @overload decorator to it. The script automatically differentiates between functions with different names and functions with the same name in different scopes.

About

A decorator that allows C++ style function overloading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages