1515
1616from _libsemigroups_pybind11 import ( # pylint: disable=no-name-in-module
1717 # TODO(0) balance?
18- InversePresentationStrings as _InversePresentationStrings ,
19- InversePresentationWords as _InversePresentationWords ,
20- PresentationStrings as _PresentationStrings ,
21- PresentationWords as _PresentationWords ,
18+ InversePresentationString as _InversePresentationString ,
19+ InversePresentationWord as _InversePresentationWord ,
20+ PresentationString as _PresentationString ,
21+ PresentationWord as _PresentationWord ,
2222 add_identity_rules as _add_identity_rules ,
2323 add_inverse_rules as _add_inverse_rules ,
2424 add_rule as _add_rule ,
7070
7171
7272class Presentation (_CxxWrapper ): # pylint: disable=missing-class-docstring
73- __doc__ = _PresentationStrings .__doc__
73+ __doc__ = _PresentationString .__doc__
7474
7575 _py_template_params_to_cxx_type = {
76- (list [int ],): _PresentationWords ,
77- (str ,): _PresentationStrings ,
76+ (list [int ],): _PresentationWord ,
77+ (str ,): _PresentationString ,
7878 }
7979
8080 _cxx_type_to_py_template_params = dict (
@@ -137,7 +137,7 @@ def __init__(self: Self, *args, **kwargs) -> None:
137137 if len (args ) == 1 :
138138 self .alphabet (args [0 ])
139139
140- @_copydoc (_PresentationWords .rules )
140+ @_copydoc (_PresentationWord .rules )
141141 @property
142142 def rules (self : Self ) -> list [Union [list [int ], str ]]:
143143 # pylint: disable=missing-function-docstring
@@ -148,9 +148,9 @@ def rules(self: Self, val: list[Union[list[int], str]]) -> None:
148148 _to_cxx (self ).rules = val
149149
150150
151- _copy_cxx_mem_fns (_PresentationWords , Presentation )
152- _register_cxx_wrapped_type (_PresentationWords , Presentation )
153- _register_cxx_wrapped_type (_PresentationStrings , Presentation )
151+ _copy_cxx_mem_fns (_PresentationWord , Presentation )
152+ _register_cxx_wrapped_type (_PresentationWord , Presentation )
153+ _register_cxx_wrapped_type (_PresentationString , Presentation )
154154
155155########################################################################
156156# InversePresentation
@@ -159,12 +159,12 @@ def rules(self: Self, val: list[Union[list[int], str]]) -> None:
159159
160160class InversePresentation (Presentation ):
161161 # pylint: disable=missing-class-docstring
162- __doc__ = _InversePresentationStrings .__doc__
162+ __doc__ = _InversePresentationString .__doc__
163163
164164 _py_template_params_to_cxx_type = {
165- (list [int ],): _InversePresentationWords ,
166- (str ,): _InversePresentationStrings ,
167- (Presentation ,): Union [_InversePresentationWords , _InversePresentationStrings ],
165+ (list [int ],): _InversePresentationWord ,
166+ (str ,): _InversePresentationString ,
167+ (Presentation ,): Union [_InversePresentationWord , _InversePresentationString ],
168168 }
169169
170170 _cxx_type_to_py_template_params = dict (
@@ -188,9 +188,9 @@ def __init__(self: Self, *args, **kwargs) -> None:
188188 self .rules = args [0 ].rules
189189
190190
191- _copy_cxx_mem_fns (_InversePresentationWords , InversePresentation )
192- _register_cxx_wrapped_type (_InversePresentationWords , InversePresentation )
193- _register_cxx_wrapped_type (_InversePresentationStrings , InversePresentation )
191+ _copy_cxx_mem_fns (_InversePresentationWord , InversePresentation )
192+ _register_cxx_wrapped_type (_InversePresentationWord , InversePresentation )
193+ _register_cxx_wrapped_type (_InversePresentationString , InversePresentation )
194194
195195########################################################################
196196# Helper functions
0 commit comments