From 2eb559d7b42b45b523accb9e1eeee68558a4a8f7 Mon Sep 17 00:00:00 2001 From: jiw <35237843+ghjwp7@users.noreply.github.com> Date: Sun, 12 Jan 2025 21:55:36 -0700 Subject: [PATCH] Change "# will print 1, 2, 3, 4" to "# will print 1, 2, 3" --- Improving-performance-with-Viper-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Improving-performance-with-Viper-code.md b/Improving-performance-with-Viper-code.md index 2aaf002..e76a3dd 100644 --- a/Improving-performance-with-Viper-code.md +++ b/Improving-performance-with-Viper-code.md @@ -331,7 +331,7 @@ You can assign to x[n], modifying the memory contents. There is no bounds checki ```py @micropython.viper def myfunction( x:ptr32, b:bool )->int: - print(x[0], x[1], x[2] ) # will print 1, 2, 3, 4 + print(x[0], x[1], x[2] ) # will print 1, 2, 3 return x[1] myfunction( array.array("l", (1,2,3,4)))