From 720fbdcdf795eadaa9477092348b43017aa42d00 Mon Sep 17 00:00:00 2001 From: Jamie Luckett Date: Fri, 29 Sep 2023 15:17:38 +0100 Subject: [PATCH] Update DSA docs to use Python 3 print --- Doc/src/signature/dsa.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/src/signature/dsa.rst b/Doc/src/signature/dsa.rst index 941e0a0a5..2c7d35a03 100644 --- a/Doc/src/signature/dsa.rst +++ b/Doc/src/signature/dsa.rst @@ -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