summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--patternutils/match.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patternutils/match.py b/patternutils/match.py
index 2589655..e4bf470 100644
--- a/patternutils/match.py
+++ b/patternutils/match.py
@@ -1,7 +1,7 @@
from typing import Pattern, Dict
-def apply(subject: str, regex_pattern: Pattern) -> Dict:
+def apply(subject: str, regex_pattern: Pattern) -> Dict[str, str]:
match = regex_pattern.search(subject)
if match is not None:
groupdict = match.groupdict()