Skip to content

Commit

Permalink
update point docstrings to match method signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKueltz committed Jan 17, 2025
1 parent 2fa1177 commit 702da40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastecdsa/point.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def __mul__(self, scalar: int) -> Point:
Args:
| self (:class:`Point`): a point :math:`P` on the curve
| other (int): an integer :math:`d \in \mathbb{Z_q}` where :math:`q` is the order of
| scalar (int): an integer :math:`d \in \mathbb{Z_q}` where :math:`q` is the order of
the curve that :math:`P` is on
Returns:
Expand Down Expand Up @@ -159,7 +159,7 @@ def __rmul__(self, scalar: int) -> Point:
Args:
| self (:class:`Point`): a point :math:`P` on the curve
| other (long): an integer :math:`d \in \mathbb{Z_q}` where :math:`q` is the order of
| scalar (int): an integer :math:`d \in \mathbb{Z_q}` where :math:`q` is the order of
the curve that :math:`P` is on
Returns:
Expand Down

0 comments on commit 702da40

Please sign in to comment.