summaryrefslogtreecommitdiff
path: root/doc/user/tasks.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/tasks.in')
-rw-r--r--doc/user/tasks.in27
1 files changed, 0 insertions, 27 deletions
diff --git a/doc/user/tasks.in b/doc/user/tasks.in
index fd87bd2..2945d1c 100644
--- a/doc/user/tasks.in
+++ b/doc/user/tasks.in
@@ -53,15 +53,6 @@ filename = os.path.splitext(filename)[0]+extension
import os.path
filenames = [os.path.join(prefix, x) for x in filenames]
</programlisting>
-
-<simpara>or in Python 1.5.2:</simpara>
-
-<programlisting>
-import os.path
-new_filenames = []
-for x in filenames:
- new_filenames.append(os.path.join(prefix, x))
-</programlisting>
</example>
<example>
@@ -70,14 +61,6 @@ for x in filenames:
if filename.find(old_prefix) == 0:
filename = filename.replace(old_prefix, new_prefix)
</programlisting>
-
-<simpara>or in Python 1.5.2:</simpara>
-
-<programlisting>
-import string
-if string.find(filename, old_prefix) == 0:
- filename = string.replace(filename, old_prefix, new_prefix)
-</programlisting>
</example>
<example>
@@ -87,16 +70,6 @@ of extensions</title>
import os.path
filenames = [x for x in filenames if os.path.splitext(x)[1] in extensions]
</programlisting>
-
-<simpara>or in Python 1.5.2:</simpara>
-
-<programlisting>
-import os.path
-new_filenames = []
-for x in filenames:
- if os.path.splitext(x)[1] in extensions:
- new_filenames.append(x)
-</programlisting>
</example>
<example>