From 41df930515a212c81f0afbd2b0f7a85e1dede0de Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Wed, 1 Sep 2021 14:35:49 +0200 Subject: [PATCH] fix function signatures --- src/sage/libs/pari/convert_sage.pxd | 4 ++-- src/sage/libs/pari/convert_sage.pyx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sage/libs/pari/convert_sage.pxd b/src/sage/libs/pari/convert_sage.pxd index 0a5969dc5db..266a8204a39 100644 --- a/src/sage/libs/pari/convert_sage.pxd +++ b/src/sage/libs/pari/convert_sage.pxd @@ -11,5 +11,5 @@ cpdef Gen new_gen_from_rational(Rational self) cpdef pari_is_prime(Integer p) cpdef pari_is_prime_power(Integer q, bint get_data) -cpdef ulong pari_maxprime() -cpdef list pari_prime_range(long c_start, long c_stop, bint py_ints=False) +cpdef unsigned long pari_maxprime() +cpdef list pari_prime_range(long c_start, long c_stop, bint py_ints=*) diff --git a/src/sage/libs/pari/convert_sage.pyx b/src/sage/libs/pari/convert_sage.pyx index abee1fb141c..ab28c4fff68 100644 --- a/src/sage/libs/pari/convert_sage.pyx +++ b/src/sage/libs/pari/convert_sage.pyx @@ -530,7 +530,7 @@ cpdef pari_is_prime_power(Integer q, bint get_data): return (q, smallInteger(0)) if get_data else False -cpdef ulong pari_maxprime(): +cpdef unsigned long pari_maxprime(): """ Return to which limit PARI has computed the primes.