Skip to content

Commit 9bcffef

Browse files
committed
Fix leftover VariantWheel class references in sort pseudocode
Thanks to @merwok for noticing! Signed-off-by: Michał Górny <mgorny@quansight.com>
1 parent 5a59786 commit 9bcffef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

peps/pep-0825.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ The ordering MUST be performed equivalent to the following algorithm:
434434
if both variants have the same number of keys, they are ordered
435435
lexically by their variant label, ascending. This is done by the
436436
ultimate step of the example algorithm, with the comparison function
437-
being implemented as ``VariantWheel.__lt__()``.
437+
being implemented as ``Variant.__lt__()``.
438438

439439
After this process, the variant wheels are sorted from the most
440440
preferred to the least preferred. The algorithm sorts the null variant
@@ -556,7 +556,7 @@ account for non-variant wheels or tags.
556556
557557
558558
# 7. Order variants by comparing their sorted properties
559-
# (see VariantWheel.__lt__())
559+
# (see Variant.__lt__())
560560
variants.sort()
561561
562562

0 commit comments

Comments
 (0)