diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 13:49:00 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 13:49:00 -0400 |
| commit | 3df03a565069d6e8874eb678d4f010eee97305b0 (patch) | |
| tree | 5a98c58eabc6b7d2654f899c9b7582fbea9daa94 /shared-bindings/_bleio/Address.c | |
| parent | 843ff5d30271709186a117877ff0521b769ae8d1 (diff) | |
Made most of the requested changes
Diffstat (limited to 'shared-bindings/_bleio/Address.c')
| -rw-r--r-- | shared-bindings/_bleio/Address.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-bindings/_bleio/Address.c b/shared-bindings/_bleio/Address.c index 06fb58d76..144b4c167 100644 --- a/shared-bindings/_bleio/Address.c +++ b/shared-bindings/_bleio/Address.c @@ -128,7 +128,7 @@ const mp_obj_property_t bleio_address_type_obj = { (mp_obj_t)&mp_const_none_obj}, }; -//| def __eq__(self, other: bytes) -> Optional[bool]: +//| def __eq__(self, other: Any) -> bool: //| """Two Address objects are equal if their addresses and address types are equal.""" //| ... //| @@ -154,7 +154,7 @@ STATIC mp_obj_t bleio_address_binary_op(mp_binary_op_t op, mp_obj_t lhs_in, mp_o } } -//| def __hash__(self) -> Optional[int]: +//| def __hash__(self) -> int: //| """Returns a hash for the Address data.""" //| ... //| @@ -187,7 +187,7 @@ STATIC void bleio_address_print(const mp_print_t *print, mp_obj_t self_in, mp_pr buf[5], buf[4], buf[3], buf[2], buf[1], buf[0]); } -//| PUBLIC: bytes = ... +//| PUBLIC: int = ... //| """A publicly known address, with a company ID (high 24 bits)and company-assigned part (low 24 bits).""" //| //| RANDOM_STATIC: int = ... |
