@@ -212,7 +212,9 @@ def __init__(
212
212
if _to_cxx (self ) is not None :
213
213
return
214
214
if len (args ) != 0 :
215
- raise ValueError (f"expected 0 positional arguments, but found { len (args )} " )
215
+ raise ValueError (
216
+ f"expected 0 positional arguments, but found { len (args )} "
217
+ )
216
218
if not isinstance (generators , list ):
217
219
raise TypeError (
218
220
"expected the keyword argument 'generators' to be "
@@ -275,7 +277,11 @@ def generators(self: _Self) -> Iterator[Element]:
275
277
276
278
_copy_cxx_mem_fns (_RightActionPPerm1PPerm1 , Action )
277
279
278
- for _type in Action ._py_template_params_to_cxx_type .values (): # pylint: disable=protected-access
280
+ for (
281
+ _type
282
+ ) in (
283
+ Action ._py_template_params_to_cxx_type .values ()
284
+ ): # pylint: disable=protected-access
279
285
_register_cxx_wrapped_type (_type , Action )
280
286
281
287
########################################################################
@@ -309,7 +315,7 @@ def __init__(self: _Self, *args, generators=None, seeds=None) -> None:
309
315
:raises ValueError:
310
316
if *generators* or *seeds* has length ``0``.
311
317
:raises KeyError:
312
- if the action defined by the arguments is not defined .
318
+ if the action given by the arguments is not yet implemented .
313
319
"""
314
320
super ().__init__ (
315
321
* args ,
@@ -351,7 +357,7 @@ def __init__(self: _Self, *args, generators=None, seeds=None) -> None:
351
357
:raises ValueError:
352
358
if *generators* or *seeds* has length ``0``.
353
359
:raises KeyError:
354
- if the action defined by the arguments is not defined .
360
+ if the action given by the arguments is not yet implemented .
355
361
"""
356
362
super ().__init__ (
357
363
generators = generators ,
0 commit comments