File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,8 @@ two words :math:`AB` and :math:`BC`.
307
307
308
308
kb.def (py::init<>(),
309
309
R"pbdoc(
310
+ :sig=() -> None:
311
+ :only-document-once:
310
312
Constructs a :any:`KnuthBendixRewriteTrie` instance with no
311
313
rules, and the short-lex reduction ordering.
312
314
@@ -317,9 +319,9 @@ instance.
317
319
py::arg (" knd" ),
318
320
py::arg (" p" ),
319
321
// TODO(0) this constructor's doc is duplicated, but including
320
- // :only-document-once: suppresses the default constructors doc.
321
322
R"pbdoc(
322
323
:sig=(knd: congruence_kind, p: PresentationStrings) -> None:
324
+ :only-document-once:
323
325
324
326
Construct from :any:`congruence_kind` and :any:`PresentationStrings`.
325
327
@@ -337,7 +339,7 @@ presentation *p*.
337
339
.def (py::init<congruence_kind, Presentation<word_type> const &>(),
338
340
R"pbdoc(
339
341
:sig=(knd: congruence_kind, p: PresentationStrings) -> None:
340
- TODO(0) remove this
342
+ :only-document-once:
341
343
)pbdoc" )
342
344
.def (
343
345
" init" ,
You can’t perform that action at this time.
0 commit comments