Deprecate the dircache module for 3.0.

This commit is contained in:
Brett Cannon 2008-05-10 21:12:57 +00:00
parent 10f5db6424
commit 0aa6e1b8fb
5 changed files with 19 additions and 5 deletions

View file

@ -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