8000 gh-102296 Document that inspect.Parameter kinds support ordering (GH-… · python/cpython@ca1cc14 · GitHub
[go: up one dir, main page]

Skip to content

Commit ca1cc14

Browse files
gh-102296 Document that inspect.Parameter kinds support ordering (GH-102297)
(cherry picked from commit 0db6f44) Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Automerge-Triggered-By: GH:AlexWaygood
1 parent cba52ec commit ca1cc14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/inspect.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,9 @@ function.
753753

754754
.. attribute:: Parameter.kind
755755

756-
Describes how argument values are bound to the parameter. Possible values
757-
(accessible via :class:`Parameter`, like ``Parameter.KEYWORD_ONLY``):
756+
Describes how argument values are bound to the parameter. The possible
757+
values are accessible via :class:`Parameter` (like ``Parameter.KEYWORD_ONLY``),
758+
and support comparison and ordering, in the following order:
758759

759760
.. tabularcolumns:: |l|L|
760761

0 commit comments

Comments
 (0)
0