summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2019-09-20 10:03:42 +0200
committerMatthias Geier <Matthias.Geier@gmail.com>2019-09-20 10:03:42 +0200
commit78f17f0e3908659dcc1dfc78152ac4a11bd14fdc (patch)
tree8245591a1252631055b92a22b438de67a9ea7ac7
parenta82b9b56d44ed37c587648685826ad56b9177533 (diff)
DOC: A few spelling fixes
-rwxr-xr-xexamples/play_long_file.py2
-rwxr-xr-xexamples/rec_gui.py2
2 files changed, 2 insertions, 2 deletions
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().