diff --git a/pybricks/_common.py b/pybricks/_common.py index 210d9b1..ff34e91 100644 --- a/pybricks/_common.py +++ b/pybricks/_common.py @@ -328,11 +328,11 @@ class Speaker: """ pass - def play_file(self, file_name): + def play_file(self, file): """Plays a sound file. Arguments: - file_name (str): + file (str): Path to the sound file, including the file extension. """