mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Deprecated statvfs for removal in 3.0.
This commit is contained in:
parent
90f2cb422f
commit
fa40bbf625
4 changed files with 12 additions and 1 deletions
|
@ -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().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue