Created
February 22, 2014 17:14
-
-
Save eliben/9158301 to your computer and use it in GitHub Desktop.
comment after def
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 foo(): # told you | |
y = 2 | |
file_input [2 children] | |
funcdef [5 children] | |
NAME('def') [lineno=1, column=0, prefix=''] | |
NAME('foo') [lineno=1, column=4, prefix=' '] | |
parameters [2 children] | |
LPAR('(') [lineno=1, column=7, prefix=''] | |
RPAR(')') [lineno=1, column=8, prefix=''] | |
COLON(':') [lineno=1, column=9, prefix=''] | |
suite [4 children] | |
NEWLINE('\n') [lineno=1, column=21, prefix=' # told you'] | |
INDENT(' ') [lineno=2, column=0, prefix=''] | |
simple_stmt [2 children] | |
expr_stmt [3 children] | |
NAME('y') [lineno=2, column=2, prefix=''] | |
EQUAL('=') [lineno=2, column=4, prefix=' '] | |
NUMBER('2') [lineno=2, column=6, prefix=' '] | |
NEWLINE('\n') [lineno=2, column=7, prefix=''] | |
DEDENT('') [lineno=3, column=0, prefix=''] | |
ENDMARKER('') [lineno=3, column=0, prefix=''] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment