Skip to content

Commit b99418f

Browse files
author
Release Manager
committed
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 ``` ### 📝 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: #36071 Reported by: Giacomo Pope Reviewer(s): Frédéric Chapoton
2 parents f7e9833 + f4111dd commit b99418f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/polynomial/polynomial_zz_pex.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ ctypedef ZZ_pEContext_ptrs *cparent
66

77
include "polynomial_template_header.pxi"
88

9-
cdef class Polynomial_ZZ_pX(Polynomial_template):
9+
cdef class Polynomial_ZZ_pEX(Polynomial_template):
1010
pass
1111

0 commit comments

Comments
 (0)