human
Write me a the Python code you requested given the following:
Complete the below
def config(_config=None, **kwargs):

    ''''A decorator for setting the default kwargs of `BaseHandler.crawl`.
    Any self.crawl with this callback will use this config.'
    '''
assistant
#Here is the Python code you requested.
    if (_config is None):
        _config = {}
    _config.update(kwargs)
    def wrapper(func):
        func._config = _config
        return func
    return wrapper