Skip to content

Commit

Permalink
sagemathgh-37932: fix the linter
Browse files Browse the repository at this point in the history
    
just fixing the linter

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [ ] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#37932
Reported by: Frédéric Chapoton
Reviewer(s):
  • Loading branch information
Release Manager committed May 12, 2024
2 parents 3aa85a8 + cc2d79c commit 270bbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/interfaces/singular.py
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ def _repr_(self):
# this is our cue that singular uses `rp` instead of `ip`
if singular_name_mapping['invlex'] == 'rp' and 'doctest' in str(get_display_manager()):
s = re.sub('^(// .*block.* : ordering )rp$', '\\1ip',
s, 0, re.MULTILINE);
s, 0, re.MULTILINE)
return s

def __copy__(self):
Expand Down

0 comments on commit 270bbd6

Please sign in to comment.