Deprecated statvfs for removal in 3.0.

This commit is contained in:
Brett Cannon 2008-05-16 00:50:02 +00:00
parent 90f2cb422f
commit fa40bbf625
4 changed files with 12 additions and 1 deletions

View file

@ -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().