Skip to content

Commit

Permalink
Add noexcept to _is_integer()
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Aug 14, 2024
1 parent 46aa609 commit ae09db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jq.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ cdef object _jv_to_python(jv value):
return python_value


cdef int _is_integer(double value):
cdef int _is_integer(double value) noexcept:
cdef double integral_part
cdef double fractional_part = modf(value, &integral_part)

Expand Down

0 comments on commit ae09db3

Please sign in to comment.