markup & punctuation fixes

This commit is contained in:
David Goodger 2007-03-16 20:01:57 +00:00
parent 92d7f773f2
commit 3ed9968c48
1 changed files with 5 additions and 5 deletions

View File

@ -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