cosmetics

This commit is contained in:
Bernhard Boser 2020-12-09 12:01:09 -08:00
parent a5c3dc286c
commit 3c724321d8
2 changed files with 1 additions and 3 deletions

View File

@ -61,7 +61,6 @@ STATIC mp_obj_t mod_msgpack_exttype_make_new(const mp_obj_type_t *type, size_t n
//| code: int
//| """The type code, in range 0~127."""
//|
STATIC mp_obj_t mod_msgpack_exttype_get_code(mp_obj_t self_in) {
mod_msgpack_extype_obj_t *self = MP_OBJ_TO_PTR(self_in);
@ -89,7 +88,6 @@ const mp_obj_property_t mod_msgpack_exttype_code_obj = {
//| data: bytes
//| """Data."""
//|
STATIC mp_obj_t mod_msgpack_exttype_get_data(mp_obj_t self_in) {
mod_msgpack_extype_obj_t *self = MP_OBJ_TO_PTR(self_in);

View File

@ -46,7 +46,7 @@
//| from io import BytesIO
//|
//| b = BytesIO()
//| msgpack.pack({'list': [True, False, None, 1, 'abc'], 'str': 'blah'}, b)
//| msgpack.pack({'list': [True, False, None, 1, 3.14], 'str': 'blah'}, b)
//| b.seek(0)
//| print(msgpack.unpack(b))
//|