summaryrefslogtreecommitdiff
path: root/docs/library/pyb.Flash.rst
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-06-21 14:33:23 +1000
committerDamien George <damien@micropython.org>2022-06-21 14:33:23 +1000
commit9175482f29264b017534902bb65e23a2d6485006 (patch)
tree8014f2a96218f478faf1753b92c7a8c6c34a3eca /docs/library/pyb.Flash.rst
parent89e1e67748e681da5f414dc597e89eaee8822817 (diff)
docs/library: Remove unnecessary "pyb." prefix on class names.
Otherwise these classes are refered to with a double prefix, like pyb.pyb.ADC. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/library/pyb.Flash.rst')
-rw-r--r--docs/library/pyb.Flash.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/pyb.Flash.rst b/docs/library/pyb.Flash.rst
index 01b3a0ac9..984e13f45 100644
--- a/docs/library/pyb.Flash.rst
+++ b/docs/library/pyb.Flash.rst
@@ -15,7 +15,7 @@ application.
Constructors
------------
-.. class:: pyb.Flash()
+.. class:: Flash()
Create and return a block device that represents the flash device presented
to the USB mass storage interface.
@@ -25,7 +25,7 @@ Constructors
This constructor is deprecated and will be removed in a future version of MicroPython.
-.. class:: pyb.Flash(*, start=-1, len=-1)
+.. class:: Flash(*, start=-1, len=-1)
:noindex:
Create and return a block device that accesses the flash at the specified offset. The length defaults to the remaining size of the device.