[Python-checkins] bpo-39357: Update bz2 docstring: remove buffering (GH-18036)

Victor Stinner webhook-mailer at python.org
Fri Jan 17 07:50:44 EST 2020

commit: 10fd6b2b9f0aeb8f5a0ce4cb4b9f21f942d39a71
branch: master
author: Victor Stinner <vstinner at python.org>
committer: GitHub <noreply at github.com>
date: 2020-01-17T13:50:39+01:00

bpo-39357: Update bz2 docstring: remove buffering (GH-18036)

Thanks Karthikeyan Singaravelan for the report ;-)

M Lib/bz2.py

diff --git a/Lib/bz2.py b/Lib/bz2.py
index a499ca3598f4b..e094fbb548bc9 100644
--- a/Lib/bz2.py
+++ b/Lib/bz2.py
@@ -47,8 +47,6 @@ def __init__(self, filename, mode="r", *, compresslevel=9):
         'x' for creating exclusively, or 'a' for appending. These can
         equivalently be given as 'rb', 'wb', 'xb', and 'ab'.
-        buffering is ignored since Python 3.0. Its use is deprecated.
         If mode is 'w', 'x' or 'a', compresslevel can be a number between 1
         and 9 specifying the level of compression: 1 produces the least
         compression, and 9 (default) produces the most compression.

More information about the Python-checkins mailing list