X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/2465e84b75fbf7ca31b57d3a11ea8f84dacb9254..cb46f06b084bb7574b6f7cde13bf413f58a1e91c:/ec.c?ds=sidebyside diff --git a/ec.c b/ec.c index c006926..e18cbb8 100644 --- 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 } };