Skip to content

Commit

Permalink
Update DSA docs to use Python 3 print
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieluckett authored Sep 29, 2023
1 parent 6b7a58f commit 720fbdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/src/signature/dsa.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ The receiver can use the matching *public* key to verify authenticity of the rec
>>> verifier = DSS.new(key, 'fips-186-3')
>>> try:
>>> verifier.verify(h, signature)
>>> print "The message is authentic."
>>> print("The message is authentic.")
>>> except ValueError:
>>> print "The message is not authentic."
>>> print("The message is not authentic.")

.. __: http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf

Expand Down

0 comments on commit 720fbdc

Please sign in to comment.