File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,9 +42,18 @@ namespace libsemigroups {
4242 using FroidurePin_ = FroidurePin<Element>;
4343
4444 std::string pyclass_name = std::string (" FroidurePin" ) + name;
45- py::class_<FroidurePin_, FroidurePinBase> thing (m,
46- pyclass_name.c_str (),
47- R"pbdoc(
45+ py::class_<FroidurePin_, FroidurePinBase> thing (
46+ m,
47+ pyclass_name.c_str (),
48+ // To change the top-level signature of a class, :sig=...: should be
49+ // specified here in the class docstring. This is most likely the
50+ // desired behaiour if a constructor is not overloaded.
51+ // If the constructor is overloaded and the signature of an individual
52+ // overload is to be changed, :sig=...: should be specifed in the
53+ // docstring of that py::init function.
54+ R"pbdoc(
55+ :sig=(self: FroidurePin, gens: List[Element]) -> None:
56+
4857Class implementing the Froidure-Pin algorithm.
4958
5059A :any:`FroidurePin` instance represents a semigroup or monoid defined by a
You can’t perform that action at this time.
0 commit comments