We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a39e0f commit b9bcd31Copy full SHA for b9bcd31
shared-bindings/msgpack/__init__.c
@@ -42,7 +42,7 @@
42
//| print(msgpack.unpack(s))"""
43
//|
44
45
-//| def pack(obj, stream):
+//| def pack(obj: Any, buffer: WriteableBuffer) -> None:
46
//| """Pack obj to stream."""
47
//| ...
48
@@ -54,7 +54,7 @@ STATIC mp_obj_t mod_msgpack_pack(mp_obj_t obj, mp_obj_t stream_obj) {
54
STATIC MP_DEFINE_CONST_FUN_OBJ_2(mod_msgpack_pack_obj, mod_msgpack_pack);
55
56
57
-//| def pack(obj, stream) -> obj:
+//| def unpack(buffer: ReadableBuffer) -> Any:
58
//| """Unpack and return one object (in msgpack format) from stream.
59
//| Call repeatedly to read multiple objects from the stream."""
60
0 commit comments