File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ The module defines the following exception and functions:
7070 size required by the format, as reflected by :func: `calcsize `.
7171
7272
73- .. function :: unpack_from(format, buffer, offset=0)
73+ .. function :: unpack_from(format, /, buffer, offset=0)
7474
7575 Unpack from *buffer * starting at position *offset *, according to the format
7676 string *format *. The result is a tuple even if it contains exactly one
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ The available exception and functions in this module are:
4747 platforms, use ``adler32(data) & 0xffffffff ``.
4848
4949
50- .. function :: compress(data, level=-1)
50+ .. function :: compress(data, /, level=-1)
5151
5252 Compresses the bytes in *data *, returning a bytes object containing compressed data.
5353 *level * is an integer from ``0 `` to ``9 `` or ``-1 `` controlling the level of compression;
@@ -132,7 +132,7 @@ The available exception and functions in this module are:
132132 platforms, use ``crc32(data) & 0xffffffff ``.
133133
134134
135- .. function :: decompress(data, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE)
135+ .. function :: decompress(data, /, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE)
136136
137137 Decompresses the bytes in *data *, returning a bytes object containing the
138138 uncompressed data. The *wbits * parameter depends on
You can’t perform that action at this time.
0 commit comments