summaryrefslogtreecommitdiff
path: root/src/_fastmath.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/_fastmath.c')
-rw-r--r--src/_fastmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_fastmath.c b/src/_fastmath.c
index f05e70f..99dbb0e 100644
--- a/src/_fastmath.c
+++ b/src/_fastmath.c
@@ -1260,7 +1260,7 @@ getRandomNBitInteger (mpz_t n, unsigned long int bits, PyObject *randfunc)
}
-/* Sets n to a rangom number so that lower_bound <= n < upper_bound .
+/* Sets n to a random number so that lower_bound <= n < upper_bound .
* If randfunc is provided it should be a callable which takes a single int
* parameter and return as many random bytes as a python string.
* Returns 1 on success