Make BaseItemExporter’s dont_fail parameter keyword-only

This commit is contained in:
Adrián Chaves 2020-02-24 13:28:15 +01:00
parent 31f35c9c00
commit 7417a9871c
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)