Skip to content
Snippets Groups Projects
Commit 4dd1a52d authored by Moul's avatar Moul
Browse files

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

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 ...@@ -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.
Please register or to comment