From b6ab5a4ab00ee4fff35e50963732bcf87dd5329f Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 22 Jan 2024 11:55:03 +0100 Subject: play_bytes: Add docstring. --- mpv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mpv.py b/mpv.py index 1efdeb1..a4ea245 100644 --- a/mpv.py +++ b/mpv.py @@ -1982,6 +1982,7 @@ class MPV(object): q.put(EOF) def play_bytes(self, data): + """ Play the given bytes object as a single file. """ frame = sys._getframe() stream_name = f'__python_mpv_play_generator_{hash(frame)}' -- cgit