chiark / gitweb /
field.c: Convert external-format field element to hex/octal.
[catacomb-python] / ec.c
diff --git a/ec.c b/ec.c
index c006926c8190be5fd8f3c52a5f64b75292db75ec..e18cbb862e9c181f82e046c2163b1ac3c71b9a2f 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 }
 };