summaryrefslogtreecommitdiff
path: root/docs/library/pyb.rst
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-02-02 13:51:18 +1100
committerDamien George <damien@micropython.org>2024-02-07 13:25:10 +1100
commit4c56b39051b4a992d8691aa504cd2e76b958bf26 (patch)
tree9bd5e19a08626bf26c222c3e093e65916ce147b0 /docs/library/pyb.rst
parent7d28789544e4e35d8c931b41765dd64a53c506f1 (diff)
docs: Use vfs module instead of os.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/library/pyb.rst')
-rw-r--r--docs/library/pyb.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/pyb.rst b/docs/library/pyb.rst
index 869e2f8f3..f169a77f3 100644
--- a/docs/library/pyb.rst
+++ b/docs/library/pyb.rst
@@ -213,7 +213,7 @@ Miscellaneous functions
.. function:: mount(device, mountpoint, *, readonly=False, mkfs=False)
.. note:: This function is deprecated. Mounting and unmounting devices should
- be performed by :meth:`os.mount` and :meth:`os.umount` instead.
+ be performed by :meth:`vfs.mount` and :meth:`vfs.umount` instead.
Mount a block device and make it available as part of the filesystem.
``device`` must be an object that provides the block protocol. (The