Skip to content

Commit e4bc10a

Browse files
committed
fix method name in python Decompressor docstring
1 parent 595a634 commit e4bc10a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/_brotli.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,16 @@ PyDoc_STRVAR(brotli_Decompressor_is_finished_doc,
170170
" False otherwise\n");
171171
PyDoc_STRVAR(brotli_Decompressor_can_accept_more_data_doc,
172172
"Checks if the decoder instance can accept more compressed data.\n"
173-
"If the 'decompress()' method on this instance of decompressor was never\n"
173+
"If the 'process()' method on this instance of decompressor was never\n"
174174
"called with 'max_length', this method will always return True.\n"
175175
"\n"
176176
"Signature:"
177177
" can_accept_more_data() -> bool\n"
178178
"\n"
179179
"Returns:\n"
180180
" True if the decoder is ready to accept more compressed data via\n"
181-
" 'decompress()'\n"
182-
" False if the decoder needs to output some data via 'decompress(b'')'\n"
181+
" 'process()'\n"
182+
" False if the decoder needs to output some data via 'process(b'')'\n"
183183
" before being provided any more compressed data\n");
184184
PyDoc_STRVAR(brotli_decompress__doc__,
185185
"Decompress a compressed byte string.\n"

0 commit comments

Comments
 (0)