diff options
Diffstat (limited to 'Doc/lib/libdircache.tex')
-rw-r--r-- | Doc/lib/libdircache.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libdircache.tex b/Doc/lib/libdircache.tex index f546a46..a827a83 100644 --- a/Doc/lib/libdircache.tex +++ b/Doc/lib/libdircache.tex @@ -32,8 +32,8 @@ in place, a \character{/} to each path which points to a directory. \begin{verbatim} >>> import dircache ->>> a=dircache.listdir('/') ->>> a=a[:] # Copy the return value so we can change 'a' +>>> a = dircache.listdir('/') +>>> a = a[:] # Copy the return value so we can change 'a' >>> a ['bin', 'boot', 'cdrom', 'dev', 'etc', 'floppy', 'home', 'initrd', 'lib', 'lost+ found', 'mnt', 'proc', 'root', 'sbin', 'tmp', 'usr', 'var', 'vmlinuz'] |