Skip to content

Commit 0e15503

Browse files
committed
Wrap a few more lines
1 parent 6275ad0 commit 0e15503

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Modules/_zstd/_zstdmodule.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ set_zstd_error(const _zstd_state* const state,
3737
break;
3838

3939
case ERR_LOAD_D_DICT:
40-
msg = "Unable to load Zstandard dictionary or prefix for decompression: %s";
40+
msg = "Unable to load Zstandard dictionary or prefix for "
41+
"decompression: %s";
4142
break;
4243
case ERR_LOAD_C_DICT:
43-
msg = "Unable to load Zstandard dictionary or prefix for compression: %s";
44+
msg = "Unable to load Zstandard dictionary or prefix for "
45+
"compression: %s";
4446
break;
4547

4648
case ERR_GET_C_BOUNDS:

Modules/_zstd/decompressor.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -718,9 +718,10 @@ PyDoc_STRVAR(ZstdDecompressor_eof_doc,
718718
"after that, an EOFError exception will be raised.");
719719

720720
PyDoc_STRVAR(ZstdDecompressor_needs_input_doc,
721-
"If the max_length output limit in .decompress() method has been reached, and\n"
722-
"the decompressor has (or may has) unconsumed input data, it will be set to\n"
723-
"False. In this case, pass b'' to .decompress() method may output further data.");
721+
"If the max_length output limit in .decompress() method has been reached,\n"
722+
"and the decompressor has (or may has) unconsumed input data, it will be set\n"
723+
"to False. In this case, passing b'' to the .decompress() method may output\n"
724+
"further data.");
724725

725726
static PyMemberDef ZstdDecompressor_members[] = {
726727
{"eof", Py_T_BOOL, offsetof(ZstdDecompressor, eof),

0 commit comments

Comments
 (0)