Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upcode samples inline #55
Comments
This comment has been minimized.
This comment has been minimized.
|
Seems to be working fine here? http://pdoc.burntsushi.net/nfldb#nfldb.Query |
This comment has been minimized.
This comment has been minimized.
|
You are right. I needed to put a carriage return before the #!python tag and also indent with 4 spaces. |
hyukim17
closed this
Jul 14, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hyukim17 commentedJul 14, 2015
It seems that writing example code only works at the top level.
For example, #!python gets parsed correctly as part of a module's comments, but is not if it is part of the docstring of a function or class.