mp.c: Release the `GFN' object through channels on error.
[catacomb-python] / ec.c
diff --git a/ec.c b/ec.c
index c006926..e18cbb8 100644 (file)
--- a/ec.c
+++ b/ec.c
@@ -1063,7 +1063,7 @@ static PyMethodDef eccurve_pymethods[] = {
   METH (mmul,          "\
 E.mmul([(P0, N0), (P1, N1), ...]) = N0 P0 + N1 P1 + ...")
   METH (find,          "E.find(X) -> P")
-  KWMETH(rand,         "E.rand(rng = rand) ->P")
+  KWMETH(rand,         "E.rand([rng = rand]) -> P")
 #undef METHNAME
   { 0 }
 };