mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #12442: add shutil.disk_usage()
This commit is contained in:
parent
59929d9877
commit
210e7ca032
6 changed files with 77 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue