Last active
February 13, 2021 22:10
-
-
Save dkhmelenko/cf3f7323fc0f077b15fb7d4789d6d6c4 to your computer and use it in GitHub Desktop.
This file contains 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 print_address(address): | |
def decorator(original_function): | |
print(f"Sending to {address}") | |
original_function() | |
return decorator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment