Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1fa067f

Browse files
committed
Fix error message (image -> audio).
1 parent f7db2e1 commit 1fa067f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/lib/display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class Audio(DisplayObject):
8585

8686
def __init__(self, data=None, filename=None, url=None, embed=None, rate=None, autoplay=False):
8787
if filename is None and url is None and data is None:
88-
raise ValueError("No image data found. Expecting filename, url, or data.")
88+
raise ValueError("No audio data found. Expecting filename, url, or data.")
8989
if embed is False and url is None:
9090
raise ValueError("No url found. Expecting url when embed=False")
9191

0 commit comments

Comments
 (0)