diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/tasks.in | 3 | ||||
-rw-r--r-- | doc/user/tasks.xml | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/user/tasks.in b/doc/user/tasks.in index 7be3562..c51ad36 100644 --- a/doc/user/tasks.in +++ b/doc/user/tasks.in @@ -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> diff --git a/doc/user/tasks.xml b/doc/user/tasks.xml index 7be3562..c51ad36 100644 --- a/doc/user/tasks.xml +++ b/doc/user/tasks.xml @@ -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> |