From 6503cd47afae82e7839d1f8456a397c2835bdf0b Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Thu, 1 Dec 2022 15:52:33 +0100 Subject: [PATCH] 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 --- docs/library/struct.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/struct.rst b/docs/library/struct.rst index 92757aba8d..896c027939 100644 --- a/docs/library/struct.rst +++ b/docs/library/struct.rst @@ -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.