Skip to content

Commit 6d2329f

Browse files
committed
add blank lines after all comment sections
1 parent 3c72432 commit 6d2329f

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

shared-bindings/msgpack/ExtType.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
//| """Constructor
3636
//| :param int code: type code in range 0~127.
3737
//| :param bytes data: representation."""
38-
38+
//| ...
39+
//|
3940
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) {
4041
mod_msgpack_extype_obj_t *self = m_new_obj(mod_msgpack_extype_obj_t);
4142
self->base.type = &mod_msgpack_exttype_type;
@@ -61,7 +62,8 @@ STATIC mp_obj_t mod_msgpack_exttype_make_new(const mp_obj_type_t *type, size_t n
6162

6263
//| code: int
6364
//| """The type code, in range 0~127."""
64-
65+
//| ...
66+
//|
6567
STATIC mp_obj_t mod_msgpack_exttype_get_code(mp_obj_t self_in) {
6668
mod_msgpack_extype_obj_t *self = MP_OBJ_TO_PTR(self_in);
6769
return MP_OBJ_NEW_SMALL_INT(self->code);
@@ -88,7 +90,8 @@ const mp_obj_property_t mod_msgpack_exttype_code_obj = {
8890

8991
//| data: bytes
9092
//| """Data."""
91-
93+
//| ...
94+
//|
9295
STATIC mp_obj_t mod_msgpack_exttype_get_data(mp_obj_t self_in) {
9396
mod_msgpack_extype_obj_t *self = MP_OBJ_TO_PTR(self_in);
9497
return self->data;

shared-bindings/msgpack/__init__.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
//| decoded = unpack(buffer, ext_hook=decoder)
8080
//| print(f"{data} -> {buffer.getvalue()} -> {decoded}")
8181
//| """
82+
//| ...
83+
//|
8284

8385
//| def pack(obj: object, buffer: WriteableBuffer, *, default: Union[Callable[[object], None], None] = None) -> None:
8486
//| """Ouput object to buffer in msgpack format.
@@ -88,7 +90,8 @@
8890
//| function called for python objects that do not have
8991
//| a representation in msgpack format.
9092
//| """
91-
93+
//| ...
94+
//|
9295
STATIC mp_obj_t mod_msgpack_pack(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
9396
enum { ARG_obj, ARG_buffer, ARG_default };
9497
STATIC const mp_arg_t allowed_args[] = {
@@ -118,7 +121,8 @@ MP_DEFINE_CONST_FUN_OBJ_KW(mod_msgpack_pack_obj, 1, mod_msgpack_pack);
118121
//| :param Optional[bool] use_list: return array as list or tuple (use_list=False).
119122
//| :return object: object read from buffer.
120123
//| """
121-
124+
//| ...
125+
//|
122126
STATIC mp_obj_t mod_msgpack_unpack(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
123127
enum { ARG_buffer, ARG_ext_hook, ARG_use_list };
124128
STATIC const mp_arg_t allowed_args[] = {

0 commit comments

Comments
 (0)