diff --git a/pep-3112.txt b/pep-3112.txt index a79decceb..9b75603f6 100644 --- a/pep-3112.txt +++ b/pep-3112.txt @@ -62,7 +62,7 @@ Grammar Changes =============== The proposed syntax is an extension of the existing string -syntax. [#stringliterals]_ +syntax [#stringliterals]_. The new syntax for strings, including the new bytes literal, is:: @@ -89,12 +89,12 @@ The following additional restrictions apply only to bytes literals between 1 and 127 inclusive, regardless of any encoding declaration [#encodings]_ in the source file. -- The Unicode-specific escape sequences ``\u``*xxxx*, - ``\U``*xxxxxxxx*, and ``\N{``*name*``}`` are unrecognized in +- The Unicode-specific escape sequences ``\u``\ *xxxx*, + ``\U``\ *xxxxxxxx*, and ``\N{``\ *name*\ ``}`` are unrecognized in Python 2.x and forbidden in Python 3000. Adjacent bytes literals are subject to the same concatenation rules as -adjacent string literals. [#concat]_ A bytes literal adjacent to a +adjacent string literals [#concat]_. A bytes literal adjacent to a string literal is an error. @@ -127,7 +127,7 @@ with the ``bytes`` type. A bytes literal produces a new object each time it is evaluated, like list displays and unlike string literals. This is necessary because bytes literals, like lists and unlike strings, are -mutable. [#eachnew]_ +mutable [#eachnew]_. Reference Implementation