Skip to content

Instantly share code, notes, and snippets.

@ycui1
Last active September 2, 2020 09:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ycui1/08ac88a272bd8fb370dc3f212b8b500b to your computer and use it in GitHub Desktop.
>>> @logging_time
... def say_hello(whom):
... """Greet someone"""
... print(f"Hello, {whom}!")
...
... print(say_hello.__doc__)
...
Function that logs time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment