summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorGouvernathor <44340603+Gouvernathor@users.noreply.github.com>2023-02-27 15:13:18 (GMT)
committerGitHub <noreply@github.com>2023-02-27 15:13:18 (GMT)
commit0db6f442598a1994c37f24e704892a2bb71a0a1b (patch)
treec0c425de10ba0036ee7b20d8a06c9e9b37fbc10b /Doc/library/inspect.rst
parente3c3f9fec099fe78d2f98912be337d632f6fcdd1 (diff)
downloadcpython-0db6f442598a1994c37f24e704892a2bb71a0a1b.zip
cpython-0db6f442598a1994c37f24e704892a2bb71a0a1b.tar.gz
cpython-0db6f442598a1994c37f24e704892a2bb71a0a1b.tar.bz2
gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)
Automerge-Triggered-By: GH:AlexWaygood
Diffstat (limited to 'Doc/library/inspect.rst')
-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 9c3be5a..789e983 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|