docs/library/struct: Fix buffer argument description.

The buffer is the data in this case. There is no buffer argument.

Signed-off-by: Laurens Valk <laurens@pybricks.com>
pull/10144/head
Laurens Valk 2022-12-01 15:52:33 +01:00 zatwierdzone przez Damien George
rodzic a2347433b0
commit 6503cd47af
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -43,5 +43,5 @@ Functions
.. function:: unpack_from(fmt, data, offset=0, /)
Unpack from the *data* starting at *offset* according to the format string
*fmt*. *offset* may be negative to count from the end of *buffer*. The return
*fmt*. *offset* may be negative to count from the end of *data*. The return
value is a tuple of the unpacked values.