Skip to content

Commit fe78bac

Browse files
Apply suggestions from code review
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 0e40f55 commit fe78bac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/compression.zstd.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@ Compressing and decompressing data in memory
258258
If :attr:`last_mode` is not :attr:`FLUSH_FRAME`, a
259259
:exc:`RuntimeError` is raised as the compressor is not at the start of
260260
a frame. If the pledged size does not match the actual size of data
261-
provided to :meth:`~.compress`, future calls to :meth:`~.compress` or
261+
provided to :meth:`.compress`, future calls to :meth:`!compress` or
262262
:meth:`flush` may raise :exc:`ZstdError` and the last chunk of data may
263263
be lost.
264264

265-
After :meth:`flush` or :meth:`~.compress` are called with mode
265+
After :meth:`flush` or :meth:`.compress` are called with mode
266266
:attr:`FLUSH_FRAME`, the next frame will not include the frame size into
267267
the header unless :meth:`!set_pledged_input_size` is called again.
268268

0 commit comments

Comments
 (0)