fixed markup; added PEP number to header

This commit is contained in:
David Goodger 2007-03-04 06:05:29 +00:00
parent c09a3ed536
commit b8656fff37
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
PEP:
PEP: 3112
Title: Bytes literals in Python 3000
Version: $Revision$
Last-Modified: $Date$
@ -64,7 +64,7 @@ Grammar Changes
The proposed syntax is an extension of the existing string
syntax. [#stringliterals]_
The new syntax for strings, including the new bytes literal, is:
The new syntax for strings, including the new bytes literal, is::
stringliteral: [stringprefix] (shortstring | longstring)
stringprefix: "b" | "r" | "br" | "B" | "R" | "BR" | "Br" | "bR"
@ -103,7 +103,7 @@ Semantics
Each evaluation of a bytes literal produces a new ``bytes`` object.
The bytes in the new object are the bytes represented by the
``shortstringitem``s or ``longstringitem``s in the literal, in the
``shortstringitem`` or ``longstringitem`` parts of the literal, in the
same order.