def rmglob(pattern: str) -> None:
    """
    Deletes all files whose filename matches the glob ``pattern`` (via
    :func:`glob.glob`).
    """
    for f in glob.glob(pattern):
        os.remove(f)
def rmglob ( pattern : str ) -> None : for f in glob . glob ( pattern ) : os . remove ( f )
Deletes all files whose filename matches the glob ``pattern`` (via
    :func:`glob.glob`).