Skip to content
Snippets Groups Projects
Commit 4dd1a52d 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 3c18024d
No related branches found
No related tags found
1 merge request!176Add support for Python v3.11
......@@ -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