[Python-checkins] r71563 - python/trunk/Doc/reference/compound_stmts.rst

georg.brandl python-checkins at python.org
Mon Apr 13 14:36:19 CEST 2009


Author: georg.brandl
Date: Mon Apr 13 14:36:18 2009
New Revision: 71563
Log:
Simplify markup.
Modified:
 python/trunk/Doc/reference/compound_stmts.rst
Modified: python/trunk/Doc/reference/compound_stmts.rst
==============================================================================
--- python/trunk/Doc/reference/compound_stmts.rst	(original)
+++ python/trunk/Doc/reference/compound_stmts.rst	Mon Apr 13 14:36:18 2009
@@ -1,4 +1,3 @@
-
 .. _compound:
 
 *******************
@@ -195,12 +194,10 @@
 inserts an item in the sequence before the current item, the current item will
 be treated again the next time through the loop. This can lead to nasty bugs
 that can be avoided by making a temporary copy using a slice of the whole
- sequence, e.g.,
-
-::
+ sequence, e.g., ::
 
- for x in a[:]:
- if x < 0: a.remove(x)
+ for x in a[:]:
+ if x < 0: a.remove(x)
 
 
 .. _try:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /