File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,7 +310,6 @@ had been newly constructed from *knd* and *p*.
310310:rtype: {name}
311311
312312:raises LibsemigroupsError: if *p* is not valid.
313-
314313{raises}
315314)pbdoc" ,
316315 name,
Original file line number Diff line number Diff line change @@ -69,18 +69,15 @@ must always be ``congruence_kind.twosided``. The parameter *knd* is
6969included for uniformity of interface between with
7070:any:`KnuthBendix`, :any:`ToddCoxeter`, and
7171:any:`Congruence`.)pbdoc" sv;
72-
73- def_construct_kind_presentation (
74- thing, " Kambites" , doc{.detail = extra_detail});
75-
76- // FIXME the following doesn't get included in the doc for some reason.
77- // This is probably a problem in libsemigroups_pybind11_extensions.py,
78- // since introducing an error in the string below goes yield a
79- // warning/error in sphinx.
8072 auto extra_raises = R"pbdoc(
8173:raises LibsemigroupsError: if *knd* is not ``congruence_kind.twosided``.
8274)pbdoc" sv;
8375
76+ def_construct_kind_presentation (
77+ thing,
78+ " Kambites" ,
79+ doc{.detail = extra_detail, .raises = extra_raises});
80+
8481 def_init_kind_presentation (
8582 thing, " Kambites" , doc{.raises = extra_raises});
8683
You can’t perform that action at this time.
0 commit comments