Skip to content

Commit 7dfea7e

Browse files
author
Michael Kryukov
committed
fix: typing for older python
1 parent 6eda0da commit 7dfea7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kutana/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def decorator(coro: HandlerType):
120120

121121
def on_match(
122122
self,
123-
patterns: List[Union[str, re.Pattern[str]]],
123+
patterns: List[Union[str, re.Pattern]],
124124
priority: int = 0,
125125
):
126126
"""

0 commit comments

Comments
 (0)