1 parent a5c3dc2 commit 3c72432Copy full SHA for 3c72432
2 files changed
shared-bindings/msgpack/ExtType.c
@@ -61,7 +61,6 @@ STATIC mp_obj_t mod_msgpack_exttype_make_new(const mp_obj_type_t *type, size_t n
61
62
//| code: int
63
//| """The type code, in range 0~127."""
64
-//|
65
66
STATIC mp_obj_t mod_msgpack_exttype_get_code(mp_obj_t self_in) {
67
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 = {
89
88
90
//| data: bytes
91
//| """Data."""
92
93
94
STATIC mp_obj_t mod_msgpack_exttype_get_data(mp_obj_t self_in) {
95
shared-bindings/msgpack/__init__.c
@@ -46,7 +46,7 @@
46
//| from io import BytesIO
47
//|
48
//| b = BytesIO()
49
-//| msgpack.pack({'list': [True, False, None, 1, 'abc'], 'str': 'blah'}, b)
+//| msgpack.pack({'list': [True, False, None, 1, 3.14], 'str': 'blah'}, b)
50
//| b.seek(0)
51
//| print(msgpack.unpack(b))
52
0 commit comments