mirror of https://github.com/scrapy/scrapy.git
Merge pull request #4370 from Gallaecio/dont-fail-kw-only
Make BaseItemExporter’s dont_fail parameter keyword-only
This commit is contained in:
commit
caa1dea890
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue