Kaydet (Commit) 456cb1e6 authored tarafından Georg Brandl's avatar Georg Brandl

Simplify markup.

üst 156c31a7
.. _compound:
*******************
......@@ -195,12 +194,10 @@ effect of Pascal's ``for i := a to b do``; e.g., ``range(3)`` returns the list
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment