diff options
Diffstat (limited to 'Lib/statvfs.py')
-rw-r--r-- | Lib/statvfs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/statvfs.py b/Lib/statvfs.py index 06a323fa63..f572422e8a 100644 --- a/Lib/statvfs.py +++ b/Lib/statvfs.py @@ -1,4 +1,7 @@ """Constants for interpreting the results of os.statvfs() and os.fstatvfs().""" +from warnings import warnpy3k +warnpy3k("the statvfs module has been removed in Python 3.0", stacklevel=2) +del warnpy3k # Indices for statvfs struct members in the tuple returned by # os.statvfs() and os.fstatvfs(). |