diff options
Diffstat (limited to 'src/cryptography/exceptions.py')
| -rw-r--r-- | src/cryptography/exceptions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptography/exceptions.py b/src/cryptography/exceptions.py index 5e69c1192..59c7ebaff 100644 --- a/src/cryptography/exceptions.py +++ b/src/cryptography/exceptions.py @@ -2,6 +2,7 @@ # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. +from __future__ import annotations import typing @@ -56,7 +57,7 @@ class InvalidSignature(Exception): class InternalError(Exception): def __init__( - self, msg: str, err_code: typing.List["rust_openssl.OpenSSLError"] + self, msg: str, err_code: typing.List[rust_openssl.OpenSSLError] ) -> None: super().__init__(msg) self.err_code = err_code |
