Make BZ2File.__init__()'s fileobj argument keyword-only.
diff --git a/Doc/library/bz2.rst b/Doc/library/bz2.rst
index dbf938a..7275e12 100644
--- a/Doc/library/bz2.rst
+++ b/Doc/library/bz2.rst
@@ -29,7 +29,7 @@
(De)compression of files
------------------------
-.. class:: BZ2File(filename=None, mode='r', buffering=None, compresslevel=9, fileobj=None)
+.. class:: BZ2File(filename=None, mode='r', buffering=None, compresslevel=9, \*, fileobj=None)
Open a bzip2-compressed file.
diff --git a/Lib/bz2.py b/Lib/bz2.py
index 5c228f9..7e1a7e2 100644
--- a/Lib/bz2.py
+++ b/Lib/bz2.py
@@ -40,7 +40,7 @@
"""
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