Skip to content

Commit

Permalink
Update pattern.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatera authored Sep 17, 2024
1 parent 24a75f1 commit a02b6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mathics/core/pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ def get_match_candidates_count(
return count

def sort(self):
"""Sot the elements according to their sort key"""
"""Sort the elements according to their sort key"""
self.elements.sort(key=lambda e: e.get_sort_key(pattern_sort=True))


Expand Down

0 comments on commit a02b6c2

Please sign in to comment.