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

Commit 9313b2c

Browse files
committed
Adjust comment
1 parent 79f2458 commit 9313b2c

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

src/sage/rings/number_field/number_field_rel.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1359,9 +1359,9 @@ def free_module(self, base=None, basis=None, map=True):
13591359
13601360
- ``base`` -- a subfield
13611361
1362-
- ``basis`` -- a list of elements giving a basis over the subfield (optional)
1362+
- ``basis`` -- (optional) a list of elements giving a basis over the subfield
13631363
1364-
- ``map`` -- whether to return isomorphisms to and from the vector space (default ``True``)
1364+
- ``map`` -- (default ``True``) whether to return isomorphisms to and from the vector space
13651365
13661366
EXAMPLES::
13671367

src/sage/rings/padics/padic_extension_generic.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -650,10 +650,14 @@ def free_module(self, base=None, basis=None, map=True):
650650

651651
# We could have used morphisms in the category
652652
# FiniteDimensionalModulesWithBasis over Qp(p)
653-
# But this would require making p-adic fields
654-
# part of this category which has a lot of side
655-
# effects (adding methods which will show up
656-
# in tab completion for example). For now we
653+
# But currently if you try to add this category
654+
# to p-adic extensions you get errors on
655+
# object creation. Moreover, some of the methods
656+
# obtained from the category (such as dimension)
657+
# don't take base ring into account, making it
658+
# awkward to treat the same field as simultaneously
659+
# an object in two free module categories with
660+
# different base rings. So for now we
657661
# just stick with Map.
658662
class pAdicModuleIsomorphism(Map):
659663
r"""

0 commit comments

Comments
 (0)