Skip to content

Commit 78f17f0

Browse files
committed
DOC: A few spelling fixes
1 parent a82b9b5 commit 78f17f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/play_long_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def callback(outdata, frames, time, status):
103103
except KeyboardInterrupt:
104104
parser.exit('\nInterrupted by user')
105105
except queue.Full:
106-
# A timeout occured, i.e. there was an error in the callback
106+
# A timeout occurred, i.e. there was an error in the callback
107107
parser.exit(1)
108108
except Exception as e:
109109
parser.exit(type(e).__name__ + ': ' + str(e))

examples/rec_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
def file_writing_thread(*, q, **soundfile_args):
28-
"""Write data from queue to file until *None* is recieved."""
28+
"""Write data from queue to file until *None* is received."""
2929
# NB: If you want fine-grained control about the buffering of the file, you
3030
# can use Python's open() function (with the "buffering" argument) and
3131
# pass the resulting file object to sf.SoundFile().

0 commit comments

Comments
 (0)