gamelib.py
def check_audio_format(path: str) -> None:
    "Produce a warning message if the audio format is not supported"

    ext = splitext(path)[1].lower()
    if ext != ".wav":
        log.warning(f"{path}: audio format {ext} is not supported and may not work properly on some platforms (Windows/Mac/Linux).\n" +
                    f"Please use WAV.")
Produce a warning message if the audio format is not supported
Produce a warning message if the audio format is not supported
Produce a warning message if the audio format is not supported
def check_audio_format(path: str) -> None:
    ext = splitext(path)[1].lower()
    if ext != ".wav":
        log.warning(f"{path}: audio format {ext} is not supported and may not work properly on some platforms (Windows/Mac/Linux).\n" +
                    f"Please use WAV.")
def check_audio_format ( path : str ) -> None : ext = splitext ( path ) [ 1 ] . lower ( ) if ext != ".wav" : log . warning ( f"{path}: audio format {ext} is not supported and may not work properly on some platforms (Windows/Mac/Linux).\n" + f"Please use WAV." )
Produce a warning message if the audio format is not supported
Produce a warning message if the audio format is not supported
"Produce a warning message if the audio format is not supported"
path
str