Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8b1d37 commit e785fbcCopy full SHA for e785fbc
1 file changed
Grammar/Grammar
@@ -2,6 +2,9 @@
2
3
# Change log:
4
5
+# 27-Feb-92:
6
+# Allow NEWLINE* after eval input
7
+
8
# 16-Jan-92:
9
# Added '*' as alternative for '+' in varargs syntax
10
# (Not sure which alternative is better yet.)
@@ -62,7 +65,7 @@
62
65
single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE
63
66
file_input: (NEWLINE | stmt)* ENDMARKER
64
67
expr_input: testlist NEWLINE
-eval_input: testlist ENDMARKER
68
+eval_input: testlist NEWLINE* ENDMARKER
69
70
funcdef: 'def' NAME parameters ':' suite
71
parameters: '(' [varargslist] ')'
0 commit comments