Content-Length: 241972 | pFad | https://github.com/python/cpython/commit/6e5f2235f3754307292c7d8d3698958136b5e311

37 gh-83006: Document behavior of `shutil.disk_usage` for non-mounted fi… · python/cpython@6e5f223 · GitHub
Skip to content

Commit

Permalink
gh-83006: Document behavior of shutil.disk_usage for non-mounted fi…
Browse files Browse the repository at this point in the history
…lesystems on Unix (#107031)
  • Loading branch information
matthieucan authored Jul 22, 2023
1 parent 149748e commit 6e5f223
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Doc/library/shutil.rst
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,12 @@ Directory and files operations
total, used and free space, in bytes. *path* may be a file or a
directory.

.. note::

On Unix filesystems, *path* must point to a path within a **mounted**
filesystem partition. On those platforms, CPython doesn't attempt to
retrieve disk usage information from non-mounted filesystems.

.. versionadded:: 3.3

.. versionchanged:: 3.8
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Document behavior of :func:`shutil.disk_usage` for non-mounted filesystems
on Unix.

0 comments on commit 6e5f223

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/commit/6e5f2235f3754307292c7d8d3698958136b5e311

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy