Skip to content

Commit b13af10

Browse files
author
Xavier Caruso
committed
plural of PID
1 parent e58e3db commit b13af10

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/sage/modules/ore_module.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
169169
- Xavier Caruso (2024-10)
170170
171-
- Xavier Caruso (2025-08); add support for Ore modules over PID
171+
- Xavier Caruso (2025-08); add support for Ore modules over PIDs
172172
"""
173173

174174
# ***************************************************************************
@@ -1837,7 +1837,7 @@ def __classcall_private__(cls, ambient, gens, saturate, names):
18371837
sage: M.span((X + x + y)*v)
18381838
Traceback (most recent call last):
18391839
...
1840-
NotImplementedError: submodules and quotients are only implemented over PID
1840+
NotImplementedError: submodules and quotients are only implemented over PIDs
18411841
"""
18421842
base = ambient.base_ring()
18431843
if isinstance(gens, SubmoduleHelper):
@@ -2343,7 +2343,7 @@ def __classcall_private__(cls, cover, gens, remove_torsion, names):
23432343
sage: M.quo((X + x + y)*v)
23442344
Traceback (most recent call last):
23452345
...
2346-
NotImplementedError: submodules and quotients are only implemented over PID
2346+
NotImplementedError: submodules and quotients are only implemented over PIDs
23472347
"""
23482348
base = cover.base_ring()
23492349
if isinstance(gens, SubmoduleHelper):

src/sage/modules/submodule_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __classcall_private__(self, mat, saturate=False):
7575
sage: SH = SubmoduleHelper(matrix(R, [[x, 3 + y]]))
7676
Traceback (most recent call last):
7777
...
78-
NotImplementedError: submodules and quotients are only implemented over PID
78+
NotImplementedError: submodules and quotients are only implemented over PIDs
7979
"""
8080
base = mat.base_ring()
8181
if base in Fields():
@@ -86,7 +86,7 @@ def __classcall_private__(self, mat, saturate=False):
8686
elif base in PrincipalIdealDomains():
8787
cls = SubmoduleHelper_PID
8888
else:
89-
raise NotImplementedError("submodules and quotients are only implemented over PID")
89+
raise NotImplementedError("submodules and quotients are only implemented over PIDs")
9090
return cls.__call__(mat, saturate)
9191

9292
def __hash__(self):

0 commit comments

Comments
 (0)