Skip to content

Commit 9881d14

Browse files
Apply ruff/pyupgrade rule UP035
UP035 Import from `re` instead: `Match`
1 parent 049b37f commit 9881d14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readme_renderer/markdown.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
import re
1616
import warnings
17-
from typing import cast, Any, Callable, Match, Optional
17+
from typing import cast, Any, Callable, Optional
18+
from re import Match
1819

1920
from html import unescape
2021

0 commit comments

Comments
 (0)