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

Thanks Karthikeyan Singaravelan for the report ;-)
This commit is contained in:
Victor Stinner 2020-01-17 13:50:39 +01:00 committed by GitHub
parent 9baf242fc7
commit 10fd6b2b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -47,8 +47,6 @@ class BZ2File(_compression.BaseStream):
'x' for creating exclusively, or 'a' for appending. These can 'x' for creating exclusively, or 'a' for appending. These can
equivalently be given as 'rb', 'wb', 'xb', and 'ab'. 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 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 and 9 specifying the level of compression: 1 produces the least
compression, and 9 (default) produces the most compression. compression, and 9 (default) produces the most compression.