summaryrefslogtreecommitdiffstats
path: root/Lib/dircache.py
diff options
context:
space:
mode:
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