Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DuniterPy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
DuniterPy
Commits
1fd5b54c
Commit
1fd5b54c
authored
2 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
duniterpy/documents/document.py
+1
-2
1 addition, 2 deletions
duniterpy/documents/document.py
with
1 addition
and
2 deletions
duniterpy/documents/document.py
+
1
−
2
View file @
1fd5b54c
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment