From e42fd29fff4c91368a9e002268e960d37b57d6c8 Mon Sep 17 00:00:00 2001 From: Joseph Lefkovitz <85521235+lefkovitzj@users.noreply.github.com> Date: Thu, 22 Aug 2024 16:25:10 -0400 Subject: [PATCH] Update ecc.rst Correct "SyntaxError: unterminated string literal" in documentation example for public key export with ECC. Close string literal for open "mode" parameter. Should be "wbt" not "wbt. --- Doc/src/public_key/ecc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/src/public_key/ecc.rst b/Doc/src/public_key/ecc.rst index 5260aead..fe3c34b4 100644 --- a/Doc/src/public_key/ecc.rst +++ b/Doc/src/public_key/ecc.rst @@ -38,7 +38,7 @@ and reimport it later:: You can also export the public key, which is not sensitive:: - >>> with open("mypublickey.pem", "wbt) as f: + >>> with open("mypublickey.pem", "wbt") as f: >>> data = mykey.public_key().export_key() .. _ECC table: