From 55c4c86c237e9fd5fcaec90d63957bd733f6d6ff Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Tue, 7 Jul 2020 09:50:36 +0200 Subject: [PATCH] api/_common: fix speaker file kwarg In the implementation, the kwarg is called "file". Instead of fixing the implementation which is already released, we fix the docs. --- pybricks/_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. """