Fix simple patterns throwing errors

This commit is contained in:
Tulir Asokan 2021-07-21 15:09:29 +03:00
parent 45e22185dc
commit 16e4b8e6d8

View file

@ -22,6 +22,10 @@ class BlankMatch:
def groups() -> List[str]:
return []
@staticmethod
def group(group: int) -> str:
return ""
@staticmethod
def groupdict() -> Dict[str, str]:
return {}