summaryrefslogtreecommitdiffstats
path: root/Lib/dircache.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-04 15:39:30 (GMT)
committerGuido van Rossum <guido@python.org>2000-02-04 15:39:30 (GMT)
commit4b8c6eaf8b287a27e0054cf6c751448b2077e83b (patch)
treedfe117765389bf4415832ca888f0117f1feba0f3 /Lib/dircache.py
parente7b146fb3bdca62a0d5ecc06dbf3348e5a4fe757 (diff)
downloadcpython-4b8c6eaf8b287a27e0054cf6c751448b2077e83b.zip
cpython-4b8c6eaf8b287a27e0054cf6c751448b2077e83b.tar.gz
cpython-4b8c6eaf8b287a27e0054cf6c751448b2077e83b.tar.bz2
Actually, the previous batch's comment should have been different;
*this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
Diffstat (limited to 'Lib/dircache.py')
-rw-r--r--Lib/dircache.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/dircache.py b/Lib/dircache.py
index b0a3665..a35e16d 100644
--- a/Lib/dircache.py
+++ b/Lib/dircache.py
@@ -1,6 +1,8 @@
-"""Return a sorted list of the files in a directory, using a cache
-to avoid reading the directory more often than necessary.
-Also contains a subroutine to append slashes to directories."""
+"""Read and cache directory listings.
+
+The listdir() routine returns a sorted list of the files in a directory,
+using a cache to avoid reading the directory more often than necessary.
+The annotate() routine appends slashes to directories."""
import os