8000 Merge pull request #6833 from rshah713/main · BPI-STEAM/micropython@e85cde0 · GitHub
[go: up one dir, main page]

Skip to content

Commit e85cde0

Browse files
authored
Merge pull request micropython#6833 from rshah713/main
Fix typos and grammar in design_guide
2 parents 4b065c4 + ceada26 commit e85cde0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/design_guide.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ statement will ensure hardware isn't enabled longer than needed.
141141
Verify your device
142142
--------------------------------------------------------------------------------
143143

144-
Whenever possible, make sure device you are talking to is the device you expect.
144+
Whenever possible, make sure the device you are talking to is the device you expect.
145145
If not, raise a RuntimeError. Beware that I2C addresses can be identical on
146146
different devices so read registers you know to make sure they match your
147147
expectation. Validating this upfront will help catch mistakes.
@@ -202,7 +202,7 @@ interchangeably with the CPython name. This is confusing. Instead, think up a
202202
new name that is related to the extra functionality you are adding.
203203

204204
For example, storage mounting and unmounting related functions were moved from
205-
``uos`` into a new `storage` module. Terminal related functions were moved into
205+
``uos`` into a new `storage` module. Terminal-related functions were moved into
206206
`multiterminal`. These names better match their functionality and do not
207207
conflict with CPython names. Make sure to check that you don't conflict with
208208
CPython libraries too. That way we can port the API to CPython in the future.
@@ -213,7 +213,7 @@ Example
213213
When adding extra functionality to CircuitPython to mimic what a normal
214214
operating system would do, either copy an existing CPython API (for example file
215215
writing) or create a separate module to achieve what you want. For example,
216-
mounting and unmount drives is not a part of CPython so it should be done in a
216+
mounting and unmounting drives is not a part of CPython so it should be done in a
217217
module, such as a new ``storage`` module, that is only available in CircuitPython.
218218
That way when someone moves the code to CPython they know what parts need to be
219219
adapted.

0 commit comments

Comments
 (0)
0