Skip to content

Commit 5af4e79

Browse files
committed
Correct example. Thanks @jepler!
1 parent 812fe0c commit 5af4e79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-bindings/nvm/ByteArray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
//| Usage::
4343
//|
4444
//| import microcontroller
45-
//| microcontroller.nvm[0:] = b"\xcc\x10\x00"
45+
//| microcontroller.nvm[0:3] = b"\xcc\x10\x00"
4646
//|
4747

4848
//| .. class:: ByteArray()

0 commit comments

Comments
 (0)