@@ -26,18 +26,18 @@ msgstr ""
2626
2727#: ../../reference/lexical_analysis.rst:10
2828msgid ""
29- "A Python program is read by a *parser*. Input to the parser is a stream of : "
30- "term:`tokens <token>`, generated by the *lexical analyzer* (also known as "
31- "the *tokenizer*). This chapter describes how the lexical analyzer produces "
32- "these tokens."
29+ "A Python program is read by a *parser*. Input to the parser is a stream "
30+ "of : term:`tokens <token>`, generated by the *lexical analyzer* (also known "
31+ "as the *tokenizer*). This chapter describes how the lexical analyzer "
32+ "produces these tokens."
3333msgstr ""
3434
3535#: ../../reference/lexical_analysis.rst:15
3636msgid ""
3737"The lexical analyzer determines the program text's :ref:`encoding "
3838"<encodings>` (UTF-8 by default), and decodes the text into :ref:`source "
39- "characters <lexical-source-character>`. If the text cannot be decoded, a : "
40- "exc:`SyntaxError` is raised."
39+ "characters <lexical-source-character>`. If the text cannot be decoded, "
40+ "a : exc:`SyntaxError` is raised."
4141msgstr ""
4242
4343#: ../../reference/lexical_analysis.rst:20
@@ -208,12 +208,12 @@ msgstr ""
208208
209209#: ../../reference/lexical_analysis.rst:102
210210msgid ""
211- "The end of a logical line is represented by the token :data:`~token. "
212- "NEWLINE`. Statements cannot cross logical line boundaries except where :data: "
213- "`!NEWLINE` is allowed by the syntax (e.g., between statements in compound "
214- "statements). A logical line is constructed from one or more *physical lines* "
215- "by following the :ref:`explicit <explicit-joining>` or :ref:`implicit "
216- "<implicit-joining>` *line joining* rules."
211+ "The end of a logical line is represented by the "
212+ "token :data:`~token. NEWLINE`. Statements cannot cross logical line "
213+ "boundaries except where :data: `!NEWLINE` is allowed by the syntax (e.g., "
214+ "between statements in compound statements ). A logical line is constructed "
215+ "from one or more *physical lines* by following the :ref:`explicit <explicit-"
216+ "joining>` or :ref:`implicit <implicit-joining>` *line joining* rules."
217217msgstr ""
218218
219219#: ../../reference/lexical_analysis.rst:113
@@ -441,8 +441,9 @@ msgstr ""
441441
442442#: ../../reference/lexical_analysis.rst:296
443443msgid ""
444- "The indentation levels of consecutive lines are used to generate :data:"
445- "`~token.INDENT` and :data:`~token.DEDENT` tokens, using a stack, as follows."
444+ "The indentation levels of consecutive lines are used to "
445+ "generate :data:`~token.INDENT` and :data:`~token.DEDENT` tokens, using a "
446+ "stack, as follows."
446447msgstr ""
447448
448449#: ../../reference/lexical_analysis.rst:300
@@ -454,10 +455,10 @@ msgid ""
454455"the stack. If it is equal, nothing happens. If it is larger, it is pushed on "
455456"the stack, and one :data:`!INDENT` token is generated. If it is smaller, it "
456457"*must* be one of the numbers occurring on the stack; all numbers on the "
457- "stack that are larger are popped off, and for each number popped off a :data: "
458- "`!DEDENT` token is generated. At the end of the file, a :data:`!DEDENT` "
459- "token is generated for each number remaining on the stack that is larger "
460- "than zero."
458+ "stack that are larger are popped off, and for each number popped off "
459+ "a :data: `!DEDENT` token is generated. At the end of the file, a :data:`!"
460+ "DEDENT` token is generated for each number remaining on the stack that is "
461+ "larger than zero."
461462msgstr ""
462463
463464#: ../../reference/lexical_analysis.rst:311
@@ -528,8 +529,8 @@ msgstr ""
528529
529530#: ../../reference/lexical_analysis.rst:367
530531msgid ""
531- "At the end of non-interactive input, the lexical analyzer generates an :data: "
532- "`~token.ENDMARKER` token."
532+ "At the end of non-interactive input, the lexical analyzer generates "
533+ "an :data: `~token.ENDMARKER` token."
533534msgstr ""
534535
535536#: ../../reference/lexical_analysis.rst:374
@@ -538,14 +539,15 @@ msgstr ""
538539
539540#: ../../reference/lexical_analysis.rst:376
540541msgid ""
541- "Besides :data:`~token.NEWLINE`, :data:`~token.INDENT` and :data:`~token."
542- "DEDENT`, the following categories of tokens exist: *identifiers* and "
543- "*keywords* (:data:`~token.NAME`), *literals* (such as :data:`~token.NUMBER` "
544- "and :data:`~token.STRING`), and other symbols (*operators* and "
545- "*delimiters*, :data:`~token.OP`). Whitespace characters (other than logical "
546- "line terminators, discussed earlier) are not tokens, but serve to delimit "
547- "tokens. Where ambiguity exists, a token comprises the longest possible "
548- "string that forms a legal token, when read from left to right."
542+ "Besides :data:`~token.NEWLINE`, :data:`~token.INDENT` "
543+ "and :data:`~token.DEDENT`, the following categories of tokens exist: "
544+ "*identifiers* and *keywords* (:data:`~token.NAME`), *literals* (such "
545+ "as :data:`~token.NUMBER` and :data:`~token.STRING`), and other symbols "
546+ "(*operators* and *delimiters*, :data:`~token.OP`). Whitespace characters "
547+ "(other than logical line terminators, discussed earlier) are not tokens, but "
548+ "serve to delimit tokens. Where ambiguity exists, a token comprises the "
549+ "longest possible string that forms a legal token, when read from left to "
550+ "right."
549551msgstr ""
550552
551553#: ../../reference/lexical_analysis.rst:390
@@ -688,16 +690,16 @@ msgstr ""
688690
689691#: ../../reference/lexical_analysis.rst:491
690692msgid ""
691- "In a ``case`` pattern within a :keyword:`match` statement, ``_`` is a :ref: "
692- "`soft keyword <soft-keywords>` that denotes a :ref:`wildcard <wildcard- "
693- "patterns>`."
693+ "In a ``case`` pattern within a :keyword:`match` statement, ``_`` is "
694+ "a :ref: `soft keyword <soft-keywords>` that denotes a :ref:`wildcard "
695+ "<wildcard- patterns>`."
694696msgstr ""
695697
696698#: ../../reference/lexical_analysis.rst:495
697699msgid ""
698700"Separately, the interactive interpreter makes the result of the last "
699- "evaluation available in the variable ``_``. (It is stored in the :mod: "
700- "`builtins` module, alongside built-in functions like ``print``.)"
701+ "evaluation available in the variable ``_``. (It is stored in "
702+ "the :mod: `builtins` module, alongside built-in functions like ``print``.)"
701703msgstr ""
702704
703705#: ../../reference/lexical_analysis.rst:500
@@ -778,9 +780,9 @@ msgstr ""
778780msgid ""
779781"Normalization is done at the lexical level only. Run-time functions that "
780782"take names as *strings* generally do not normalize their arguments. For "
781- "example, the variable defined above is accessible at run time in the :func: "
782- "`globals` dictionary as ``globals()[\" finalization\" ]`` but not ``globals() "
783- "[\" fiⁿₐˡᵢᶻₐᵗᵢᵒₙ\" ]``."
783+ "example, the variable defined above is accessible at run time in "
784+ "the :func: `globals` dictionary as ``globals()[\" finalization\" ]`` but not "
785+ "``globals() [\" fiⁿₐˡᵢᶻₐᵗᵢᵒₙ\" ]``."
784786msgstr ""
785787
786788#: ../../reference/lexical_analysis.rst:557
@@ -878,8 +880,8 @@ msgstr ""
878880
879881#: ../../reference/lexical_analysis.rst:596
880882msgid ""
881- "``<Other_ID_Continue>`` - another explicit set of characters in `PropList. "
882- "txt`_ to support backwards compatibility"
883+ "``<Other_ID_Continue>`` - another explicit set of characters in "
884+ "`PropList. txt`_ to support backwards compatibility"
883885msgstr ""
884886
885887#: ../../reference/lexical_analysis.rst:599
@@ -910,8 +912,8 @@ msgstr ""
910912
911913#: ../../reference/lexical_analysis.rst:624
912914msgid ""
913- "In terms of lexical analysis, Python has :ref:`string, bytes <strings>` and : "
914- "ref:`numeric <numbers>` literals."
915+ "In terms of lexical analysis, Python has :ref:`string, bytes <strings>` "
916+ "and : ref:`numeric <numbers>` literals."
915917msgstr ""
916918
917919#: ../../reference/lexical_analysis.rst:627
@@ -958,10 +960,10 @@ msgstr ""
958960
959961#: ../../reference/lexical_analysis.rst:660
960962msgid ""
961- "Inside a string literal, the backslash (``\\ ``) character introduces an :dfn: "
962- "`escape sequence`, which has special meaning depending on the character "
963- "after the backslash. For example, ``\\\" `` denotes the double quote "
964- "character, and does *not* end the string:"
963+ "Inside a string literal, the backslash (``\\ ``) character introduces "
964+ "an :dfn: `escape sequence`, which has special meaning depending on the "
965+ "character after the backslash. For example, ``\\\" `` denotes the double "
966+ "quote character, and does *not* end the string:"
965967msgstr ""
966968
967969#: ../../reference/lexical_analysis.rst:666
@@ -1072,8 +1074,8 @@ msgstr ""
10721074#: ../../reference/lexical_analysis.rst:733
10731075msgid ""
10741076"Support for the unicode legacy literal (``u'value'``) was reintroduced to "
1075- "simplify the maintenance of dual Python 2.x and 3.x codebases. See :pep: "
1076- "`414` for more information."
1077+ "simplify the maintenance of dual Python 2.x and 3.x codebases. "
1078+ "See :pep: `414` for more information."
10771079msgstr ""
10781080
10791081#: ../../reference/lexical_analysis.rst:739
@@ -1323,15 +1325,15 @@ msgstr ""
13231325
13241326#: ../../reference/lexical_analysis.rst:878
13251327msgid ""
1326- "Octal escapes with value larger than ``0o377`` (255) produce a :exc: "
1327- "`DeprecationWarning`."
1328+ "Octal escapes with value larger than ``0o377`` (255) produce "
1329+ "a :exc: `DeprecationWarning`."
13281330msgstr ""
13291331
13301332#: ../../reference/lexical_analysis.rst:882
13311333msgid ""
1332- "Octal escapes with value larger than ``0o377`` (255) produce a :exc: "
1333- "`SyntaxWarning`. In a future Python version they will raise a :exc: "
1334- "`SyntaxError`."
1334+ "Octal escapes with value larger than ``0o377`` (255) produce "
1335+ "a :exc: `SyntaxWarning`. In a future Python version they will raise "
1336+ "a :exc: `SyntaxError`."
13351337msgstr ""
13361338
13371339#: ../../reference/lexical_analysis.rst:890
@@ -1450,8 +1452,8 @@ msgid ""
14501452":dfn:`Bytes literals` are always prefixed with '``b``' or '``B``'; they "
14511453"produce an instance of the :class:`bytes` type instead of the :class:`str` "
14521454"type. They may only contain ASCII characters; bytes with a numeric value of "
1453- "128 or greater must be expressed with escape sequences (typically :ref: "
1454- "`string-escape-hex` or :ref:`string-escape-oct`):"
1455+ "128 or greater must be expressed with escape sequences "
1456+ "(typically :ref: `string-escape-hex` or :ref:`string-escape-oct`):"
14551457msgstr ""
14561458
14571459#: ../../reference/lexical_analysis.rst:984
@@ -1669,7 +1671,7 @@ msgstr ""
16691671#: ../../reference/lexical_analysis.rst:1148
16701672msgid "a *conversion specifier* -- ``!s``, ``!r`` or ``!a``; and/or"
16711673msgstr ""
1672- "einen *Konvertierungsbezeichner* – ``!s``, ``!r`` oder ``!a``; und/oder"
1674+ "einen *Konvertierungsbezeichner* – ``!s``, ``!r`` oder ``!a``, und/oder"
16731675
16741676#: ../../reference/lexical_analysis.rst:1149
16751677msgid "a *format specifier* prefixed with a colon (``:``)."
@@ -1963,8 +1965,8 @@ msgstr ""
19631965
19641966#: ../../reference/lexical_analysis.rst:1414
19651967msgid ""
1966- "Floating-point (float) literals, such as ``3.14`` or ``1.5``, denote :ref: "
1967- "`approximations of real numbers <datamodel-float>`."
1968+ "Floating-point (float) literals, such as ``3.14`` or ``1.5``, "
1969+ "denote :ref: `approximations of real numbers <datamodel-float>`."
19681970msgstr ""
19691971
19701972#: ../../reference/lexical_analysis.rst:1417
@@ -2156,14 +2158,15 @@ msgstr ""
21562158#: ../../reference/lexical_analysis.rst:1581
21572159msgid ""
21582160"For some tokens, the distinction is unclear. For example, some people "
2159- "consider ``.``, ``(``, and ``)`` to be delimiters, while others see the :py: "
2160- "func:`getattr` operator and the function call operator(s)."
2161+ "consider ``.``, ``(``, and ``)`` to be delimiters, while others see "
2162+ "the :py: func:`getattr` operator and the function call operator(s)."
21612163msgstr ""
21622164
21632165#: ../../reference/lexical_analysis.rst:1585
21642166msgid ""
2165- "Some of Python's operators, like ``and``, ``or``, and ``not in``, use :ref:"
2166- "`keyword <keywords>` tokens rather than \" symbols\" (operator tokens)."
2167+ "Some of Python's operators, like ``and``, ``or``, and ``not in``, "
2168+ "use :ref:`keyword <keywords>` tokens rather than \" symbols\" (operator "
2169+ "tokens)."
21672170msgstr ""
21682171
21692172#: ../../reference/lexical_analysis.rst:1588
0 commit comments