Revised the _normalize method of Multiplicative Abelian Groups to raise an error if any of the generators are specified to have negative order. Also added a doctest.
:memo: Checklist
[x] The title is concise and informative.
[x] The description explains in detail what this PR is about.
[x] I have linked a relevant issue or discussion.
[x] I have created tests covering the changes.
[x] I have updated the documentation and checked the documentation preview.
Documentation preview for this PR (built with commit cf4fe6ff5a6810589733c536823f44e1c80161d4; changes) is ready! :tada:
This preview will update shortly after each push to this PR.
Fixes #38967.
Revised the
_normalize
method of Multiplicative Abelian Groups to raise an error if any of the generators are specified to have negative order. Also added a doctest.:memo: Checklist