summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-27 15:22:07 (GMT)
committerGitHub <noreply@github.com>2023-02-27 15:22:07 (GMT)
commitca1cc1484f3045e7f4472be56383de2597437fc3 (patch)
tree8dae8d3b0120e882f21e8cab81036814b293fd62 /Doc
parentcba52ec0603406206af75edd2091922e353da91a (diff)
downloadcpython-ca1cc1484f3045e7f4472be56383de2597437fc3.zip
cpython-ca1cc1484f3045e7f4472be56383de2597437fc3.tar.gz
cpython-ca1cc1484f3045e7f4472be56383de2597437fc3.tar.bz2
gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)
(cherry picked from commit 0db6f442598a1994c37f24e704892a2bb71a0a1b) Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Automerge-Triggered-By: GH:AlexWaygood
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/inspect.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index cc9c22f..35aa994 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -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|