summaryrefslogtreecommitdiff
path: root/shared-bindings/nvm/ByteArray.c
diff options
context:
space:
mode:
authorDavePutz <dwputz@gmail.com>2020-07-24 20:29:53 -0500
committerGitHub <noreply@github.com>2020-07-24 20:29:53 -0500
commit3dfed3c4aa52d06bd2eb1c28d0a1916821cc3f80 (patch)
treee585876c4e4d3500ba42dfceeb11c5bd11e7dd74 /shared-bindings/nvm/ByteArray.c
parenta14101cd137e56002ff0599d99f8234966786454 (diff)
parenta6e048686fe6999c4231582b7d9e69a7dc679257 (diff)
Merge pull request #15 from adafruit/main
update from main
Diffstat (limited to 'shared-bindings/nvm/ByteArray.c')
-rw-r--r--shared-bindings/nvm/ByteArray.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/shared-bindings/nvm/ByteArray.c b/shared-bindings/nvm/ByteArray.c
index 06d7d4c95..278ac4d73 100644
--- a/shared-bindings/nvm/ByteArray.c
+++ b/shared-bindings/nvm/ByteArray.c
@@ -44,12 +44,14 @@
//| microcontroller.nvm[0:3] = b\"\xcc\x10\x00\""""
//|
-//| def __init__(self, ):
+//| def __init__(self) -> None:
//| """Not currently dynamically supported. Access the sole instance through `microcontroller.nvm`."""
//| ...
//|
-//| def __len__(self, ) -> Any:
+//| def __bool__(self) -> bool: ...
+//|
+//| def __len__(self) -> int:
//| """Return the length. This is used by (`len`)"""
//| ...
//|