mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Deprecate the dircache module for 3.0.
This commit is contained in:
parent
10f5db6424
commit
0aa6e1b8fb
5 changed files with 19 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue