Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion quick2wire/parts/mcp23x17.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
In = "in"
Out = "out"

# Bits within the IOCON regiseter
# Bits within the IOCON register
IOCON_INTPOL=1
IOCON_ODR=2
IOCON_MIRROR=6
Expand Down
4 changes: 2 additions & 2 deletions quick2wire/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def add(self, source, eventmask=INPUT|ERROR, trigger=None, identifier=None):
the source
OUTPUT -- output can be written to the source
ERROR -- an error has occurred on the source
HANGUP -- a remote hangup has occured on the
HANGUP -- a remote hangup has occurred on the
source
PRIORITY_INPUT -- urgent out-of-band data is waiting
to be read from the source
Expand Down Expand Up @@ -130,7 +130,7 @@ def has_error(self):

@property
def has_hangup(self):
"""Returns whether a remote hangup has occured on the ready event source."""
"""Returns whether a remote hangup has occurred on the ready event source."""
return bool(self.events & HANGUP)

@property
Expand Down
2 changes: 1 addition & 1 deletion quick2wire/spi_ctypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# are in a different address space (and may be of different sizes in some
# cases, such as 32-bit i386 userspace over a 64-bit x86_64 kernel).
# Zero-initialize the structure, including currently unused fields, to
# accomodate potential future updates.
# accommodate potential future updates.
#
# SPI_IOC_MESSAGE gives userspace the equivalent of kernel spi_sync().
# Pass it an array of related transfers, they'll execute together.
Expand Down