summaryrefslogtreecommitdiffstats
path: root/Lib/bz2.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-01-17 12:50:39 (GMT)
committerGitHub <noreply@github.com>2020-01-17 12:50:39 (GMT)
commit10fd6b2b9f0aeb8f5a0ce4cb4b9f21f942d39a71 (patch)
treefe9ec198cbd71ca08a9c965f4583a21318db2e17 /Lib/bz2.py
parent9baf242fc733ab8a52a0b6201d95c6fdb8251745 (diff)
downloadcpython-10fd6b2b9f0aeb8f5a0ce4cb4b9f21f942d39a71.zip
cpython-10fd6b2b9f0aeb8f5a0ce4cb4b9f21f942d39a71.tar.gz
cpython-10fd6b2b9f0aeb8f5a0ce4cb4b9f21f942d39a71.tar.bz2
bpo-39357: Update bz2 docstring: remove buffering (GH-18036)
Thanks Karthikeyan Singaravelan for the report ;-)
Diffstat (limited to 'Lib/bz2.py')
-rw-r--r--Lib/bz2.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/bz2.py b/Lib/bz2.py
index a499ca3..e094fbb 100644
--- a/Lib/bz2.py
+++ b/Lib/bz2.py
@@ -47,8 +47,6 @@ class BZ2File(_compression.BaseStream):
'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.