Skip to content

Commit 6c0eb6f

Browse files
authored
Fix typos discovered by codespell (#134)
1 parent 2417994 commit 6c0eb6f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/play_file.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def print_error(*args):
4040

4141

4242
def xrun(delay):
43-
print_error("An xrun occured, increase JACK's period size?")
43+
print_error("An xrun occurred, increase JACK's period size?")
4444

4545

4646
def shutdown(status, reason):
@@ -109,7 +109,7 @@ def process(frames):
109109
except KeyboardInterrupt:
110110
parser.exit('\nInterrupted by user')
111111
except (queue.Full):
112-
# A timeout occured, i.e. there was an error in the callback
112+
# A timeout occurred, i.e. there was an error in the callback
113113
parser.exit(1)
114114
except Exception as e:
115115
parser.exit(type(e).__name__ + ': ' + str(e))

src/jack.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ def set_shutdown_callback(self, callback):
729729
730730
After server shutdown, the client is *not* deallocated by
731731
JACK, the user (that's you!) is responsible to properly
732-
use `close()` to release client ressources.
732+
use `close()` to release client resources.
733733
Alternatively, the `Client` object can be used as a
734734
*context manager* in a *with statement*, which takes care
735735
of activating, deactivating and closing the client
@@ -1256,7 +1256,7 @@ def set_xrun_callback(self, callback):
12561256
----------
12571257
callback : callable
12581258
User-supplied function that is called whenever an xrun has
1259-
occured. It must have this signature::
1259+
occurred. It must have this signature::
12601260
12611261
callback(delayed_usecs: float) -> None
12621262

0 commit comments

Comments
 (0)