ecoue commited on
Commit
ffcfb5b
1 Parent(s): 0a67f43

more python 3.7 compatibility changes

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -222,7 +222,7 @@ def parse_sgm(
222
 
223
  def read_lines_regex(
224
  filepath: str,
225
- pattern: re.Pattern[str]
226
  ):
227
  with open(
228
  file=filepath,
 
222
 
223
  def read_lines_regex(
224
  filepath: str,
225
+ pattern: re.Pattern # pyright: ignore # re.Pattern[str]
226
  ):
227
  with open(
228
  file=filepath,