Skip to content

Commit c468fe6

Browse files
committed
docs/ustruct: Fix argument formatting.
Per current CPython docs conventions, arguments are in italics. Follow that.
1 parent a9ed42b commit c468fe6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/library/ustruct.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ Functions
1212

1313
.. function:: calcsize(fmt)
1414

15-
Return the number of bytes needed to store the given ``fmt``.
15+
Return the number of bytes needed to store the given `fmt`.
1616

1717
.. function:: pack(fmt, v1, v2, ...)
1818

19-
Pack the values ``v1``, ``v2``, ... according to the format string ``fmt``.
19+
Pack the values `v1`, `v2`, ... according to the format string `fmt`.
2020
The return value is a bytes object encoding the values.
2121

2222
.. function:: pack_into(fmt, buffer, offset, v1, v2, ...)
@@ -27,7 +27,7 @@ Functions
2727

2828
.. function:: unpack(fmt, data)
2929

30-
Unpack from the ``data`` according to the format string ``fmt``.
30+
Unpack from the `data` according to the format string `fmt`.
3131
The return value is a tuple of the unpacked values.
3232

3333
.. function:: unpack_from(fmt, data, offset=0)

0 commit comments

Comments
 (0)