Termination sequences can be used - the Unix form using ASCII LF (linefeed), In source files and strings, any of the standard platform line Physical lines ¶Ī physical line is a sequence of characters terminated by an end-of-line A logical line isĬonstructed from one or more physical lines by following the explicit or Syntax (e.g., between statements in compound statements). StatementsĬannot cross logical line boundaries except where NEWLINE is allowed by the The end of a logical line is represented by the token NEWLINE. If the source file cannot be decoded, a Synta圎rror isĪ Python program is divided into a number of logical lines. Python reads program text as Unicode code points the encoding of a source fileĬan be given by an encoding declaration and defaults to UTF-8, see PEP 3120įor details. Lexical analyzer breaks a file into tokens. Tokens, generated by the lexical analyzer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |