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: use "length" over "len" in tutorial3 python #425

Merged
merged 4 commits into from
Dec 7, 2023
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ The snippets of code included in this section are taken from the `notification h

```python
# Parse first 3 bytes
len = data[0]
length = data[0]
command_id = data[1]
status = data[2]
```
Expand All @@ -273,7 +273,7 @@ status = data[2]
# Parse remaining four bytes
index = 3
params = []
while index <= len:
while index <= length:
param_len = data[index]
index += 1
params.append(data[index : index + param_len])
Expand Down Expand Up @@ -1020,4 +1020,4 @@ There is additional logic required for a complete solution such as checking the
on and storing a dict of response per UUID. At the current time, this endeavor is left for the reader. For a
complete example of this, see the [Open GoPro Python SDK](https://gopro.github.io/OpenGoPro/python_sdk/).

To learn more about queries, go to the next tutorial.
To learn more about queries, go to the next tutorial.
Loading