diff options
author | Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> | 2023-02-27 15:13:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 15:13:18 (GMT) |
commit | 0db6f442598a1994c37f24e704892a2bb71a0a1b (patch) | |
tree | c0c425de10ba0036ee7b20d8a06c9e9b37fbc10b /Doc/library/inspect.rst | |
parent | e3c3f9fec099fe78d2f98912be337d632f6fcdd1 (diff) | |
download | cpython-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.rst | 5 |
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| |