Created
February 7, 2020 06:28
-
-
Save arpitbbhayani/b6070c3a4e9863b47162fdb11146a592 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def overload(fn): | |
"""overload is the decorator that wraps the function | |
and returns a callable object of type Function. | |
""" | |
return Namespace.get_instance().register(fn) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment