Merge pull request #4370 from Gallaecio/dont-fail-kw-only

Make BaseItemExporter’s dont_fail parameter keyword-only
This commit is contained in:
Mikhail Korobov 2020-02-25 13:12:01 +05:00 committed by GitHub
commit caa1dea890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ __all__ = ['BaseItemExporter', 'PprintItemExporter', 'PickleItemExporter',
class BaseItemExporter(object):
def __init__(self, dont_fail=False, **kwargs):
def __init__(self, *, dont_fail=False, **kwargs):
self._kwargs = kwargs
self._configure(kwargs, dont_fail=dont_fail)