try without ... in docs
This commit is contained in:
parent
6d2329fb09
commit
d29184b5a0
@ -35,7 +35,6 @@
|
||||
//| """Constructor
|
||||
//| :param int code: type code in range 0~127.
|
||||
//| :param bytes data: representation."""
|
||||
//| ...
|
||||
//|
|
||||
STATIC mp_obj_t mod_msgpack_exttype_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
|
||||
mod_msgpack_extype_obj_t *self = m_new_obj(mod_msgpack_extype_obj_t);
|
||||
@ -62,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);
|
||||
@ -90,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);
|
||||
|
@ -79,7 +79,6 @@
|
||||
//| decoded = unpack(buffer, ext_hook=decoder)
|
||||
//| print(f"{data} -> {buffer.getvalue()} -> {decoded}")
|
||||
//| """
|
||||
//| ...
|
||||
//|
|
||||
|
||||
//| def pack(obj: object, buffer: WriteableBuffer, *, default: Union[Callable[[object], None], None] = None) -> None:
|
||||
@ -90,7 +89,6 @@
|
||||
//| function called for python objects that do not have
|
||||
//| a representation in msgpack format.
|
||||
//| """
|
||||
//| ...
|
||||
//|
|
||||
STATIC mp_obj_t mod_msgpack_pack(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
|
||||
enum { ARG_obj, ARG_buffer, ARG_default };
|
||||
@ -121,7 +119,6 @@ MP_DEFINE_CONST_FUN_OBJ_KW(mod_msgpack_pack_obj, 1, mod_msgpack_pack);
|
||||
//| :param Optional[bool] use_list: return array as list or tuple (use_list=False).
|
||||
//| :return object: object read from buffer.
|
||||
//| """
|
||||
//| ...
|
||||
//|
|
||||
STATIC mp_obj_t mod_msgpack_unpack(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
|
||||
enum { ARG_buffer, ARG_ext_hook, ARG_use_list };
|
||||
|
Loading…
Reference in New Issue
Block a user