Issue #12442: add shutil.disk_usage()

This commit is contained in:
Giampaolo Rodola' 2011-07-01 13:55:36 +02:00
parent 59929d9877
commit 210e7ca032
6 changed files with 77 additions and 1 deletions

View file

@ -200,7 +200,16 @@ The :class:`~ftplib.FTP_TLS` class now provides a new
plaintex. This can be useful to take advantage of firewalls that know how to
handle NAT with non-secure FTP without opening fixed ports.
(Patch submitted by Giampaolo Rodolà in :issue:`12139`.)
(Contributed by Giampaolo Rodolà in :issue:`12139`)
shutil
------
The :mod:`shutil` module has a new :func:`~shutil.disk_usage` providing total,
used and free disk space statistics.
(Contributed by Giampaolo Rodolà in :issue:`12442`)
Optimizations