@@ -180,9 +180,7 @@ class Action(_CxxWrapper): # pylint: disable=missing-class-docstring
180180 ########################################################################
181181
182182 # pylint: disable=redefined-outer-name
183- def __init__ (
184- self : _Self , * args , generators = None , seeds = None , func = None , side = None
185- ) -> None :
183+ def __init__ (self : _Self , * args , generators = None , seeds = None , func = None , side = None ) -> None :
186184 """
187185 :sig=(self: Action, generators=None, seeds=None, func=None, side=None) -> None:
188186
@@ -214,9 +212,7 @@ def __init__(
214212 if _to_cxx (self ) is not None :
215213 return
216214 if len (args ) != 0 :
217- raise TypeError (
218- f"expected 0 positional arguments, but found { len (args )} "
219- )
215+ raise TypeError (f"expected 0 positional arguments, but found { len (args )} " )
220216 if not isinstance (generators , list ):
221217 raise TypeError (
222218 "expected the keyword argument 'generators' to be "
@@ -279,9 +275,7 @@ def generators(self: _Self) -> Iterator[Element]:
279275
280276_copy_cxx_mem_fns (_RightActionPPerm1PPerm1 , Action )
281277
282- for (
283- _type
284- ) in (
278+ for _type in (
285279 Action ._py_template_params_to_cxx_type .values () # pylint: disable=protected-access
286280):
287281 _register_cxx_wrapped_type (_type , Action )
@@ -295,14 +289,14 @@ class RightAction(Action):
295289 """
296290 Class representing a right action of a semigroup or monoid on a set.
297291
298- This page contains the documentation for the class `` RightAction``, which
299- just calls :any:`Action` with the keyword arguments *func* given by
292+ This page contains the documentation for the class :any:` RightAction`,
293+ which just calls :any:`Action` with the keyword arguments *func* given by
300294 :any:`ImageRightAction` and *side* given by :py:class:`side.right`.
301295 """
302296
303297 def __init__ (self : _Self , * args , generators = None , seeds = None ) -> None :
304298 """
305- :sig=(self: Action , generators=None, seeds=None, func=None, side =None) -> None:
299+ :sig=(self: RightAction , generators=None, seeds=None) -> None:
306300
307301 Construct an :any:`Action` from generators and seeds,
308302 :any:`ImageRightAction` and :py:class:`side.right`.
@@ -318,6 +312,10 @@ def __init__(self: _Self, *args, generators=None, seeds=None) -> None:
318312 if *generators* or *seeds* has length ``0``.
319313 :raises KeyError:
320314 if the action given by the arguments is not yet implemented.
315+
316+ .. |name| replace:: :any:`RightAction`
317+
318+ .. include:: ../../_static/runner_non_inherit.rst
321319 """
322320 super ().__init__ (
323321 * args ,
@@ -344,7 +342,7 @@ class LeftAction(Action):
344342
345343 def __init__ (self : _Self , * args , generators = None , seeds = None ) -> None :
346344 """
347- :sig=(self: Action , generators=None, seeds=None, func=None, side =None) -> None:
345+ :sig=(self: LeftAction , generators=None, seeds=None) -> None:
348346
349347 Construct an :any:`Action` from generators and seeds,
350348 :any:`ImageLeftAction` and :py:class:`side.left`.
@@ -360,6 +358,10 @@ def __init__(self: _Self, *args, generators=None, seeds=None) -> None:
360358 if *generators* or *seeds* has length ``0``.
361359 :raises KeyError:
362360 if the action given by the arguments is not yet implemented.
361+
362+ .. |name| replace:: :any:`LeftAction`
363+
364+ .. include:: ../../_static/runner_non_inherit.rst
363365 """
364366 super ().__init__ (
365367 generators = generators ,
0 commit comments