Skip to content

Commit

Permalink
pythongh-102296 Document that inspect.Parameter kinds support ordering (
Browse files Browse the repository at this point in the history
pythonGH-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
1 parent cba52ec commit b686291
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Doc/library/inspect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,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

0 comments on commit b686291

Please sign in to comment.