Use Glob() instead of glob.glob()
authorgregnoel <gregnoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 23 Sep 2009 21:13:24 +0000 (21:13 +0000)
committergregnoel <gregnoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 23 Sep 2009 21:13:24 +0000 (21:13 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4376 fdb21ef1-2011-0410-befe-b5e4ea1792b1

doc/user/tasks.in
doc/user/tasks.xml

index 7be3562d6dab2d18416d28a3a54fa0059921b1fa..c51ad36ef5120f9dd4d862bd850dfa0ee7b6c766 100644 (file)
@@ -35,8 +35,7 @@ tasks and how to implement them in &Python;.
 <example>
 <title>Wildcard globbing to create a list of filenames</title>
 <programlisting>
-import glob
-files = glob.glob(wildcard)
+files = Glob(wildcard)
 </programlisting>
 </example>
 
index 7be3562d6dab2d18416d28a3a54fa0059921b1fa..c51ad36ef5120f9dd4d862bd850dfa0ee7b6c766 100644 (file)
@@ -35,8 +35,7 @@ tasks and how to implement them in &Python;.
 <example>
 <title>Wildcard globbing to create a list of filenames</title>
 <programlisting>
-import glob
-files = glob.glob(wildcard)
+files = Glob(wildcard)
 </programlisting>
 </example>