Skip to content
Snippets Groups Projects
Commit c7da1d14 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 eb471561
No related branches found
No related tags found
1 merge request!191Release v1.1.1 bugfix release
......@@ -17,8 +17,7 @@ import base64
import hashlib
import logging
import re
from typing import Any, Dict, Optional, Type, TypeVar
from typing.re import Pattern
from typing import Any, Dict, Optional, Pattern, Type, TypeVar
from ..constants import SIGNATURE_REGEX
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