mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
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.
This commit is contained in:
+2
-2
@@ -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.
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user