]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)
authorGouvernathor <44340603+Gouvernathor@users.noreply.github.com>
Mon, 27 Feb 2023 15:13:18 +0000 (16:13 +0100)
committerGitHub <noreply@github.com>
Mon, 27 Feb 2023 15:13:18 +0000 (07:13 -0800)
Automerge-Triggered-By: GH:AlexWaygood
Doc/library/inspect.rst

index 9c3be5a250a67e472928cb0d529c634f4598ed09..789e9839d22f71df2ed9d5dca632c8fd3ef32c40 100644 (file)
@@ -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|