diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-08-14 18:31:53 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-08-14 18:31:53 +0100 |
| commit | ae09db302c87c48f8fa4e048c52bd0730d0a1afd (patch) | |
| tree | 4e835ba827548598c3c7971592640c4b9d886af3 | |
| parent | 46aa6091ba226d43a796b4552cc39b775ff69ba4 (diff) | |
Add noexcept to _is_integer()
| -rw-r--r-- | jq.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
