summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-04-02 14:22:08 -0500
committerJeff Epler <jepler@gmail.com>2020-04-14 18:24:58 -0500
commit89eb45a13c48509a18ecadaacd983e880e17aa9c (patch)
treeca56e13eb88ffeade903c033f10cbb9166239051
parent759fdffda51811f333772e8746aed45e15e6565f (diff)
use floor division in docstring
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
-rw-r--r--shared-bindings/_protomatter/Protomatter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/_protomatter/Protomatter.c b/shared-bindings/_protomatter/Protomatter.c
index 8d0d223bb..cb3ed7c4f 100644
--- a/shared-bindings/_protomatter/Protomatter.c
+++ b/shared-bindings/_protomatter/Protomatter.c
@@ -80,7 +80,7 @@ STATIC void claim_pins_nr(mp_obj_t seq) {
//|
//| Create a Protomatter object with the given attributes. The height of
//| the display is determined by the number of rgb and address pins:
-//| len(rgb_pins)/3 * 2 ** len(address_pins). With 6 RGB pins and 4
+//| len(rgb_pins) // 3 * 2 ** len(address_pins). With 6 RGB pins and 4
//| address lines, the display will be 32 pixels tall.
//|
//| Up to 30 RGB pins and 8 address pins are supported.