Fix simple patterns throwing errors
This commit is contained in:
parent
45e22185dc
commit
16e4b8e6d8
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ class BlankMatch:
|
||||||
def groups() -> List[str]:
|
def groups() -> List[str]:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def group(group: int) -> str:
|
||||||
|
return ""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def groupdict() -> Dict[str, str]:
|
def groupdict() -> Dict[str, str]:
|
||||||
return {}
|
return {}
|
||||||
|
|
Loading…
Reference in a new issue