Skip to content

Instantly share code, notes, and snippets.

@yipyip
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yipyip/11343611 to your computer and use it in GitHub Desktop.
Save yipyip/11343611 to your computer and use it in GitHub Desktop.
"""This is a docstring at module level."""
print(__doc__)
"""This docstring is ignored"""
print(__doc__)
def my_func():
"""This is a docstring in my_func."""
print(my_func.__doc__)
my_func()
print(help(func))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment