diff --git a/Doc/library/bz2.rst b/Doc/library/bz2.rst index bb7028526acf972..e52565dd4bb0a77 100644 --- a/Doc/library/bz2.rst +++ b/Doc/library/bz2.rst @@ -191,10 +191,6 @@ The :mod:`!bz2` module contains: readers or writers, just like its equivalent classes in :mod:`gzip` and :mod:`lzma` have always been. - .. versionchanged:: next - A damaged bzip2 stream that follows another stream now raises - :exc:`OSError` instead of being ignored as trailing data. - Incremental (de)compression --------------------------- @@ -311,10 +307,6 @@ One-shot (de)compression .. versionchanged:: 3.3 Support for multi-stream inputs was added. - .. versionchanged:: next - A damaged bzip2 stream that follows another stream now raises - :exc:`OSError` instead of being ignored as trailing data. - Miscellaneous ------------- diff --git a/Doc/library/lzma.rst b/Doc/library/lzma.rst index ef6e931fb11f4fc..ae3dcd811fbec0f 100644 --- a/Doc/library/lzma.rst +++ b/Doc/library/lzma.rst @@ -140,10 +140,6 @@ Reading and writing compressed files .. versionchanged:: 3.6 Accepts a :term:`path-like object`. - .. versionchanged:: next - A damaged ``.xz`` stream that follows another stream now raises - :exc:`LZMAError` instead of being ignored as trailing data. - Compressing and decompressing data in memory -------------------------------------------- @@ -304,10 +300,6 @@ Compressing and decompressing data in memory See :class:`LZMADecompressor` above for a description of the *format*, *memlimit* and *filters* arguments. - .. versionchanged:: next - A damaged ``.xz`` stream that follows another stream now raises - :exc:`LZMAError` instead of being ignored as trailing data. - Miscellaneous -------------