From 503c411497257b7961b56b9a446baf51a0ad0831 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 17 Jan 2020 12:15:05 +0100 Subject: [PATCH] bpo-39357: Update bz2 docstring: remove buffering Thanks Karthikeyan Singaravelan for the report ;-) --- Lib/bz2.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/bz2.py b/Lib/bz2.py index a499ca3598f4bf..e094fbb548bc95 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.