@@ -456,10 +456,11 @@ Removed Syntax
456456* The :keyword: `from ` *module * :keyword: `import ` ``* `` syntax is only
457457 allowed at the module level, no longer inside functions.
458458
459- * The only acceptable syntax for relative imports is :keyword: `from `
460- ``.``[*module*] :keyword:`import` *name*; :keyword:`import` forms
461- not starting with ``. `` are always interpreted as absolute imports.
462- (:pep: `0328 `)
459+ * The only acceptable syntaxes for relative imports are :keyword: `from `
460+ ``. `` :keyword: `import ` *name * or
461+ :keyword: `from ` ``.module `` :keyword: `import ` *name *.
462+ :keyword: `import ` forms not starting with ``. `` are always
463+ interpreted as absolute imports. (:pep: `0328 `)
463464
464465* Classic classes are gone.
465466
@@ -559,8 +560,8 @@ review:
559560 release schedule. However, the package is alive and well,
560561 externally maintained at http://www.jcea.es/programacion/pybsddb.htm.
561562
562- * Some modules were renamed because their old name flaunted
563- :pep: `0008 `, or for various other reasons:
563+ * Some modules were renamed because their old name disobeyed
564+ :pep: `0008 `, or for various other reasons. Here's the list :
564565
565566 ======================= =======================
566567 Old Name New Name
@@ -607,7 +608,7 @@ review:
607608 really care about :mod: `tkinter `. Also note that as of Python
608609 2.6, the functionality of :mod: `turtle ` has been greatly enhanced.
609610
610- * :mod: `urllib ` (:mod: `urllib `, :mod: `urllib`2 , :mod:`urlparse `,
611+ * :mod: `urllib ` (:mod: `urllib `, :mod: `urllib2 ` , :mod: `urlparse `,
611612 :mod: `robotparse `).
612613
613614 * :mod: `xmlrpc ` (:mod: `xmlrpclib `, :mod: `DocXMLRPCServer `,
@@ -649,7 +650,7 @@ Some other changes to standard library modules, not covered by
649650* :data: `string.letters ` and its friends (:data: `string.lowercase ` and
650651 :data: `string.uppercase `) are gone. Use
651652 :data: `string.ascii_letters ` etc. instead. (The reason for the
652- removal is that :data: string.letters` and friends had
653+ removal is that :data: ` string.letters ` and friends had
653654 locale-specific behavior, which is a bad idea for such
654655 attractively-named global "constants".)
655656
@@ -702,8 +703,8 @@ new powerful features added:
702703 :attr: `__traceback__ ` attribute (see below).
703704
704705* :pep: `3110 `: Catching exceptions. You must now use
705- * :keyword:`except` SomeException * :keyword: `as ` *variable * instead
706- * of :keyword:`except` *SomeException *, variable*. Moreover, the
706+ :keyword: `except ` * SomeException * :keyword: `as ` *variable * instead
707+ of :keyword: `except ` *SomeException *, variable*. Moreover, the
707708 *variable * is explicitly deleted when the :keyword: `except ` block
708709 is left.
709710
0 commit comments