Skip to content

Commit

Permalink
Correct doctest returns for 'are_relatively_prime'
Browse files Browse the repository at this point in the history
  • Loading branch information
adamantike authored and sybrenstuvel committed Feb 5, 2016
1 parent 8a4a32f commit 527e3ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rsa/prime.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ def are_relatively_prime(a, b):
are not.
>>> are_relatively_prime(2, 3)
1
True
>>> are_relatively_prime(2, 4)
0
False
"""

d = gcd(a, b)
Expand Down

0 comments on commit 527e3ca

Please sign in to comment.