def makedirs(*args, **kwargs):
    """Wrapper around os.makedirs that doesn't raise an exception if the
    directory already exists.

    """
    try:
        os.makedirs(*args, **kwargs)
    except __HOLE__ as ex:
        if ex.errno != errno.EEXIST:
            raise
dataset/ETHPy150Open c-w/Gutenberg/gutenberg/_util/os.py/makedirs