diff options
author | jaseg <git@jaseg.de> | 2024-01-22 11:55:03 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2024-01-22 11:55:03 +0100 |
commit | b6ab5a4ab00ee4fff35e50963732bcf87dd5329f (patch) | |
tree | abac71a568178e716f08b8955bf6a5a210734567 | |
parent | 4e76f01ecc4c55a8dfd923a44bebd671907f944b (diff) | |
download | python-mpv-b6ab5a4ab00ee4fff35e50963732bcf87dd5329f.tar.gz python-mpv-b6ab5a4ab00ee4fff35e50963732bcf87dd5329f.tar.bz2 python-mpv-b6ab5a4ab00ee4fff35e50963732bcf87dd5329f.zip |
play_bytes: Add docstring.
-rw-r--r-- | mpv.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)}' |