Commit
2 years ago
gh-36071: Correct typo in class name of `Polynomial_ZZ_pEX` in `.pxd` file <!-- ^^^^^ Corrects a typo in the cython definition of Polynomial_ZZ_pEX --> Currently the cpython definition of within `/sage/rings/polynomial/polynomial_zz_pex.pxd` exports the class name `Polynomial_ZZ_pX` instead of `Polynomial_ZZ_pEX`. At the moment, if a user requires the `Polynomial_ZZ_pEX` within a `.pyx` file, they must perform the following import: ``` from sage.rings.polynomial.polynomial_zz_pex cimport Polynomial_ZZ_pX as Polynomial_ZZ_pEX ``` Correcting the typo in the changed file allows the import to be simply ``` from sage.rings.polynomial.polynomial_zz_pex cimport Polynomial_ZZ_pEX ``` ### :memo: Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. URL: https://github.com/sagemath/sage/pull/36071 Reported by: Giacomo Pope Reviewer(s): Frédéric Chapoton
Author
Release Manager
Loading