Skip to content

Commit 552488b

Browse files
Joseph-Edwardsjames-d-mitchell
authored andcommitted
Add links to the Order class
1 parent e04558e commit 552488b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/words.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ Sets the number of letters in a :any:`WordRange` object to *n*.
395395
:returns: A reference to ``self``.
396396
:rtype: WordRange
397397
)pbdoc");
398-
// TODO(now) make this link to order when it exists.
399398
thing1.def(
400399
"order",
401400
[](WordRange const& self) { return self.order(); },
@@ -405,7 +404,7 @@ The current order of the words in the range.
405404
Returns the current order of the words in a :any:`WordRange` object.
406405
407406
:returns: The current order.
408-
:rtype: order
407+
:rtype: Order
409408
)pbdoc");
410409
thing1.def(
411410
"order",
@@ -477,7 +476,7 @@ Returns whether or not the settings have been changed since the last time either
477476
Other than by calling :any:`WordRange.next()` , the value returned by :any:`WordRange.get()` may be
478477
altered by a call to one of the following:
479478
480-
* ``order(order)``
479+
* ``order(Order)``
481480
* ``alphabet_size(int)``
482481
* ``min(int)``
483482
* ``max(int)``
@@ -816,7 +815,7 @@ The current order of the strings in the range.
816815
Returns the current order of the strings in a :any:`StringRange` object.
817816
818817
:returns: The current order.
819-
:rtype: order
818+
:rtype: Order
820819
)pbdoc");
821820
thing2.def(
822821
"order",
@@ -830,7 +829,7 @@ Set the order of the strings in the range.
830829
Sets the order of the strings in a :any:`StringRange` object to *val*.
831830
832831
:param val: the order.
833-
:type val: order
832+
:type val: Order
834833
835834
:returns: A reference to ``self``.
836835
:rtype: StringRange

0 commit comments

Comments
 (0)