Created
March 3, 2017 14:26
-
-
Save yhaskell/99d7b29d3f1ff71a358d8d7eb4cfeba5 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
import inspect | |
def double(x): | |
""" doubles the argument. """ | |
return x * 2 | |
def main(): | |
print(inspect.getdoc(double)) | |
main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment