[Python-checkins] gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)

miss-islington webhook-mailer at python.org
Mon Feb 27 10:21:34 EST 2023


https://github.com/python/cpython/commit/1ef6e45f963852d0a4363c1d2e180dc27758c0ee
commit: 1ef6e45f963852d0a4363c1d2e180dc27758c0ee
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-02-27T07:21:27-08:00
summary:

gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)


(cherry picked from commit 0db6f442598a1994c37f24e704892a2bb71a0a1b)

Co-authored-by: Gouvernathor <44340603+Gouvernathor at users.noreply.github.com>
Automerge-Triggered-By: GH:AlexWaygood

files:
M Doc/library/inspect.rst

diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 6a696c977bf1..caca1050d7bf 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -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|
 



More information about the Python-checkins mailing list