Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-102296 Document that inspect.Parameter kinds support ordering (GH-…
…102297)

(cherry picked from commit 0db6f44)

Co-authored-by: Gouvernathor <[email protected]>
Automerge-Triggered-By: GH:AlexWaygood
  • Loading branch information
Gouvernathor authored and miss-islington committed Feb 27, 2023
commit 0ca662ecdba2b5ab71e83633e3338d2e8a1ff457
5 changes: 3 additions & 2 deletions Doc/library/inspect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -780,8 +780,9 @@ function.

.. attribute:: Parameter.kind

Describes how argument values are bound to the parameter. Possible values
(accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):
Describes how argument values are bound to the parameter. The possible
values are accessible via :class:`Parameter` (like ``Parameter.KEYWORD_ONLY``),
and support comparison and ordering, in the following order:

.. tabularcolumns:: |l|L|

Expand Down