Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh314 committed Jun 19, 2022
1 parent 830bc8b commit 6dc5953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/manifolds/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ def _repr_(self):
_list_functions(self, list_f)

for m in list_f:
d = re.sub(m[1] + '\([^)]+\)', m[1], d)
d = re.sub(m[1] + r'\([^)]+\)', m[1], d)

return d

Expand Down

0 comments on commit 6dc5953

Please sign in to comment.