Skip to content
Snippets Groups Projects
Commit 1fd5b54c authored by Moul's avatar Moul
Browse files

Fix deprecation warning about typing.re.Pattern (#194)

https://docs.python.org/3/library/typing.html#typing.Pattern
parent 8bcb9080
No related branches found
No related tags found
No related merge requests found
...@@ -17,8 +17,7 @@ import base64 ...@@ -17,8 +17,7 @@ import base64
import hashlib import hashlib
import logging import logging
import re import re
from typing import Any, Dict, Optional, Type, TypeVar from typing import Any, Dict, Optional, Pattern, Type, TypeVar
from typing.re import Pattern
from ..constants import SIGNATURE_REGEX from ..constants import SIGNATURE_REGEX
from ..key import SigningKey, VerifyingKey from ..key import SigningKey, VerifyingKey
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment