From 78f17f0e3908659dcc1dfc78152ac4a11bd14fdc Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Fri, 20 Sep 2019 10:03:42 +0200 Subject: DOC: A few spelling fixes --- examples/play_long_file.py | 2 +- examples/rec_gui.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/play_long_file.py b/examples/play_long_file.py index e018fd9..198e520 100755 --- a/examples/play_long_file.py +++ b/examples/play_long_file.py @@ -103,7 +103,7 @@ try: except KeyboardInterrupt: parser.exit('\nInterrupted by user') except queue.Full: - # A timeout occured, i.e. there was an error in the callback + # A timeout occurred, i.e. there was an error in the callback parser.exit(1) except Exception as e: parser.exit(type(e).__name__ + ': ' + str(e)) diff --git a/examples/rec_gui.py b/examples/rec_gui.py index f1528e7..d272843 100755 --- a/examples/rec_gui.py +++ b/examples/rec_gui.py @@ -25,7 +25,7 @@ import soundfile as sf def file_writing_thread(*, q, **soundfile_args): - """Write data from queue to file until *None* is recieved.""" + """Write data from queue to file until *None* is received.""" # NB: If you want fine-grained control about the buffering of the file, you # can use Python's open() function (with the "buffering" argument) and # pass the resulting file object to sf.SoundFile(). -- cgit v1.2.3