diff options
author | Fred Drake <fdrake@acm.org> | 2003-12-31 07:41:52 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-12-31 07:41:52 (GMT) |
commit | a180581511c91875ade801b32c6ca17a3e34d12d (patch) | |
tree | c67d27da376af034ed886b569dc6c672ed188d9c /Doc/lib/libdircache.tex | |
parent | 50e7a11af11be5ef580affba6741abd7d87d4781 (diff) | |
download | cpython-a180581511c91875ade801b32c6ca17a3e34d12d.zip cpython-a180581511c91875ade801b32c6ca17a3e34d12d.tar.gz cpython-a180581511c91875ade801b32c6ca17a3e34d12d.tar.bz2 |
use conventional whitespace in interactive example
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'] |