Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

categories/morphism.pyx: remove some noexcepts #38613

Merged
merged 1 commit into from
Sep 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sage/categories/morphism.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ cdef class SetIsomorphism(SetMorphism):
raise RuntimeError('inverse morphism has not been set')
return self._inverse

cdef dict _extra_slots(self) noexcept:
cdef dict _extra_slots(self):
"""
Extend the dictionary with extra slots for this class.

Expand All @@ -823,7 +823,7 @@ cdef class SetIsomorphism(SetMorphism):
slots['_inverse'] = self._inverse
return slots

cdef _update_slots(self, dict _slots) noexcept:
cdef _update_slots(self, dict _slots):
"""
Update the slots of ``self`` from the data in the dictionary.

Expand Down
Loading