Skip to content

Commit

Permalink
Backwards compat change for python < 3.10 (part deux)
Browse files Browse the repository at this point in the history
  • Loading branch information
blais committed Jun 1, 2024
1 parent 171e586 commit b839068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beangulp/similar.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def cmp(entry1: data.Directive, entry2: data.Directive) -> bool:
comparator = heuristic_comparator


def same_link_comparator(regex: str | None = None) -> Comparator:
def same_link_comparator(regex: Optional[str] = None) -> Comparator:
"""Comparison function generator that checks if two directives share a link.
You can use this if you have a source of transactions that consistently
Expand Down

0 comments on commit b839068

Please # to comment.