From: Fred Drake Date: Wed, 31 Dec 2003 07:41:52 +0000 (+0000) Subject: use conventional whitespace in interactive example X-Git-Tag: v2.4a1~1012 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a180581511c91875ade801b32c6ca17a3e34d12d;p=python use conventional whitespace in interactive example --- diff --git a/Doc/lib/libdircache.tex b/Doc/lib/libdircache.tex index f546a46ef2..a827a83516 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']