summaryrefslogtreecommitdiff
path: root/Lib/dircache.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dircache.py')
-rw-r--r--Lib/dircache.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/dircache.py b/Lib/dircache.py
index 78ec7fe0f4..7e4f0b508a 100644
--- a/Lib/dircache.py
+++ b/Lib/dircache.py
@@ -3,6 +3,9 @@
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."""
+from warnings import warnpy3k
+warnpy3k("the dircache module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
import os