Skip to content

Commit a26bbeb

Browse files
Apply ruff/pyupgrade rule UP035
UP035 Import from `collections.abc` instead: `Callable` UP035 Import from `re` instead: `Match`
1 parent 64fdd0e commit a26bbeb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme_renderer/markdown.py

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

1515
import re
1616
import warnings
17-
from typing import cast, Any, Callable, Match, Optional
17+
from typing import cast, Any, Optional
18+
from collections.abc import Callable
19+
from re import Match
1820

1921
from html import unescape
2022

0 commit comments

Comments
 (0)