commit | fa40bbf6252d224fb479d051d236edf6a79a0c8d | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Fri May 16 00:50:02 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Fri May 16 00:50:02 2008 +0000 |
tree | 3d4c3bd86b7262200f791a760808dda4b3e03980 | |
parent | 90f2cb422fb4226846ab81c21d3a140b92267f82 [diff] [blame] |
Deprecated statvfs for removal in 3.0.
diff --git a/Lib/statvfs.py b/Lib/statvfs.py index 06a323f..f572422 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().