Skip to content

Commit b083716

Browse files
fix the syntax of the documentation grammar in print_stats
Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 4cccb55 commit b083716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/profile.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ functions:
302302
The *sort* parameter specifies the sorting order of the displayed
303303
statistics. It accepts a single key or a tuple of keys to enable
304304
multi-level sorting. A key can be either an integer, a string, or a
305-
SortKey enum identifying the basis of a sort (for example: -1,
306-
'time', 'name', SortKey.TIME, or SortKey.NAME).
305+
SortKey enum identifying the basis of a sort (for example: ``-1``,
306+
``'time'``, ``'name'``, ``SortKey.TIME``, or ``SortKey.NAME``).
307307

308308
.. versionadded:: 3.13
309309
:meth:`~Profile.print_stats` now accepts a single key or a tuple of keys.

0 commit comments

Comments
 (0)