Skip to content

Commit 599e4a1

Browse files
Joseph-Edwardsjames-d-mitchell
authored andcommitted
Fix Kambites init overload
1 parent 79ca0a7 commit 599e4a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/kambites.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,9 @@ contained in the congruence, but that this is not currently known.
188188
Presentation<OtherWord> const& p) { return self.init(knd, p); },
189189
py::arg("knd"),
190190
py::arg("p"),
191-
// TODO(0) adding only-document-once here means that the other
192-
// overload of init is suppressed also :(
193-
// :only-document-once:
194191
R"pbdoc(
195192
:sig=(self: Kambites, knd: congruence_kind, p: Presentation) -> Kambites:
193+
:only-document-once:
196194
197195
Re-initialize a :any:`Kambites` instance.
198196
@@ -322,6 +320,8 @@ Copy a :any:`Kambites` object.
322320
"init",
323321
[](Kambites_& self) { return self.init(); },
324322
R"pbdoc(
323+
:sig=(self: Kambites) -> Kambites:
324+
:only-document-once:
325325
Re-initialize a :any:`Kambites` instance.
326326
327327
This function puts a :any:`Kambites` instance back into the state that it would

0 commit comments

Comments
 (0)