From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Mon, 27 Feb 2023 15:13:18 +0000 (+0100) Subject: gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297) X-Git-Tag: v3.12.0a6~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0db6f442598a1994c37f24e704892a2bb71a0a1b;p=thirdparty%2FPython%2Fcpython.git gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297) Automerge-Triggered-By: GH:AlexWaygood --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 9c3be5a250a6..789e9839d22f 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -802,8 +802,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|