Skip to content

Commit

Permalink
struct module minor documentation fix (#3306)
Browse files Browse the repository at this point in the history
Thanks
  • Loading branch information
vsky279 authored Oct 4, 2020
1 parent ebfce4a commit 54e8696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ print(s)
## struct.unpack()

Returns the values packed in string `s` according to the format
string `fmt`. An optional `i` marks where in `s` to start reading
string `fmt`. An optional `offset` marks where in `s` to start reading
(default is 1). After the read values, this function also returns
the index in `s` where it stopped reading, which is also where you
should start to read the rest of the string.
Expand All @@ -116,7 +116,7 @@ should start to read the rest of the string.

#### Returns

All the unpacked data.
All the unpacked data and index in `s` where it stoppped reading.

#### Example

Expand Down

0 comments on commit 54e8696

Please sign in to comment.