Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10fd6b2

Browse files
authored
bpo-39357: Update bz2 docstring: remove buffering (GH-18036)
Thanks Karthikeyan Singaravelan for the report ;-)
1 parent 9baf242 commit 10fd6b2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/bz2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ def __init__(self, filename, mode="r", *, compresslevel=9):
4747
'x' for creating exclusively, or 'a' for appending. These can
4848
equivalently be given as 'rb', 'wb', 'xb', and 'ab'.
4949
50-
buffering is ignored since Python 3.0. Its use is deprecated.
51-
5250
If mode is 'w', 'x' or 'a', compresslevel can be a number between 1
5351
and 9 specifying the level of compression: 1 produces the least
5452
compression, and 9 (default) produces the most compression.

0 commit comments

Comments
 (0)