summaryrefslogtreecommitdiffstats
path: root/Doc/library/shutil.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/shutil.rst')
-rw-r--r--Doc/library/shutil.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index c692cf4..d882627 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -343,11 +343,14 @@ Directory and files operations
Return disk usage statistics about the given path as a :term:`named tuple`
with the attributes *total*, *used* and *free*, which are the amount of
- total, used and free space, in bytes. On Windows, *path* must be a
- directory; on Unix, it can be a file or directory.
+ total, used and free space, in bytes. *path* may be a file or a
+ directory.
.. versionadded:: 3.3
+ .. versionchanged:: 3.8
+ On Windows, *path* can now be a file or directory.
+
Availability: Unix, Windows.
.. function:: chown(path, user=None, group=None)