diff options
Diffstat (limited to 'Lib/statcache.py')
-rw-r--r-- | Lib/statcache.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/statcache.py b/Lib/statcache.py index 47b79da..cfc812b 100644 --- a/Lib/statcache.py +++ b/Lib/statcache.py @@ -3,6 +3,11 @@ There are functions to reset the cache or to selectively remove items. """ +import warnings +warnings.warn("The statcache module is obsolete. Use os.stat() instead.", + DeprecationWarning) +del warnings + import os as _os from stat import * |