chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*.c: Consistently show keyword arguments as optional in docstrings.
[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 }
};