Lines Matching +full:detect +full:- +full:newline
2 .. _top-level:
5 Top-level components
31 built-in and standard modules are available, but none have been initialized,
32 except for :mod:`sys` (various system services), :mod:`builtins` (built-in
56 in three forms: with the :option:`-c` *string* command line option, as a file
62 .. _file-input:
67 All input read from non-interactive files has the same form:
69 .. productionlist:: python-grammar
70 file_input: (NEWLINE | `statement`)*
88 .. productionlist:: python-grammar
89 interactive_input: [`stmt_list`] NEWLINE | `compound_stmt` NEWLINE
91 Note that a (top-level) compound statement must be followed by a blank line in
92 interactive mode; this is needed to help the parser detect the end of the input.
95 .. _expression-input:
101 .. index:: pair: built-in function; eval
106 .. productionlist:: python-grammar
107 eval_input: `expression_list` NEWLINE*