Skip to content

Commit c68a40a

Browse files
AJMansfielddpgeorge
authored andcommitted
docs/library/vfs: Document no-args mount output.
Signed-off-by: Anson Mansfield <[email protected]>
1 parent 9fcc25b commit c68a40a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: docs/library/vfs.rst

+8
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ represented by VFS classes.
3434

3535
Will raise ``OSError(EPERM)`` if *mount_point* is already mounted.
3636

37+
.. function:: mount()
38+
:noindex:
39+
40+
With no arguments to :func:`mount`, return a list of tuples representing
41+
all active mountpoints.
42+
43+
The returned list has the form *[(fsobj, mount_point), ...]*.
44+
3745
.. function:: umount(mount_point)
3846

3947
Unmount a filesystem. *mount_point* can be a string naming the mount location,

0 commit comments

Comments
 (0)