From c68a40ac94ea8a8dd6031dff6f21706977893bef Mon Sep 17 00:00:00 2001 From: Anson Mansfield Date: Mon, 3 Mar 2025 14:25:14 -0500 Subject: [PATCH] docs/library/vfs: Document no-args mount output. Signed-off-by: Anson Mansfield --- docs/library/vfs.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/library/vfs.rst b/docs/library/vfs.rst index fcd06eb43..1fa1e3060 100644 --- a/docs/library/vfs.rst +++ b/docs/library/vfs.rst @@ -34,6 +34,14 @@ represented by VFS classes. Will raise ``OSError(EPERM)`` if *mount_point* is already mounted. +.. function:: mount() + :noindex: + + With no arguments to :func:`mount`, return a list of tuples representing + all active mountpoints. + + The returned list has the form *[(fsobj, mount_point), ...]*. + .. function:: umount(mount_point) Unmount a filesystem. *mount_point* can be a string naming the mount location,