diff options
author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-02-04 13:58:07 +0200 |
---|---|---|
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-02-04 13:58:07 +0200 |
commit | 923f4ecf4294a07a3a140cb98ef01e5ad0267b10 (patch) | |
tree | ef1011e860ad031b0e36eb574218e1fb8faa2a05 /Lib/bz2.py | |
parent | f79d5801b76bdb7cdd1f9c8ea93318954a7430e0 (diff) | |
download | cpython-923f4ecf4294a07a3a140cb98ef01e5ad0267b10.tar.gz |
Make BZ2File.__init__()'s fileobj argument keyword-only.
Diffstat (limited to 'Lib/bz2.py')
-rw-r--r-- | Lib/bz2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bz2.py b/Lib/bz2.py index 5c228f95e5..7e1a7e29c6 100644 --- a/Lib/bz2.py +++ b/Lib/bz2.py @@ -40,7 +40,7 @@ class BZ2File(io.BufferedIOBase): """ def __init__(self, filename=None, mode="r", buffering=None, - compresslevel=9, fileobj=None): + compresslevel=9, *, fileobj=None): """Open a bzip2-compressed file. If filename is given, open the named file. Otherwise, operate on |