Skip to content

Commit a6a7eaa

Browse files
committed
minor doc tweak
1 parent babbfde commit a6a7eaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bchlib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ BCH_getattr(BCHObject *self, PyObject *name)
364364

365365
static PyMemberDef BCH_members[] = {
366366
{"data_len", T_UINT, offsetof(BCHObject, data_len), 0,
367-
"Read/write; decode data length in bytes. Set this value before "
367+
"Read/write; decode data length in bytes. Set this value before\n"
368368
"decoding."},
369369
{"ecc_bits", -1, 0, READONLY|RESTRICTED,
370370
"Readonly; number of ecc bits."},
@@ -396,7 +396,7 @@ static PyMethodDef BCH_methods[] = {
396396
"There are four ways that 'decode' can function by providing "
397397
"different\ninput parameters:\n\n 'data' and 'recv_ecc'\n"
398398
" 'recv_ecc' and 'calc_ecc'\n 'calc_ecc' (as recv_ecc XOR "
399-
"calc_ecc)\n 'syn' (a sequence of 2*t values)\n\nbch.data_len "
399+
"calc_ecc)\n 'syn' (a sequence of 2*t values)\n\n'data_len' "
400400
"SHOULD be set before calling this function."},
401401
{"correct", (PyCFunction) BCH_correct, METH_VARARGS | METH_KEYWORDS,
402402
"\b\b\b\bcorrect(data=None, ecc=None) → None\nCorrects 'data' "

0 commit comments

Comments
 (0)