Skip to content
Snippets Groups Projects
Commit 79bd6d76 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 e7b233aa
No related branches found
No related tags found
No related merge requests found
......@@ -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