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

Commit

Permalink
minor docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Jul 20, 2017
1 parent 6e2495f commit 7428353
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/sage/rings/padics/factory.py
Expand Up @@ -241,7 +241,7 @@ class Qp_class(UniqueFactory):
- ``print_max_terms`` -- integer (default ``None``) The maximum number of
terms shown. See PRINTING below.
- ``show_prec`` -- bool (default ``None``) Whether to show the precision
- ``show_prec`` -- bool (default ``None``) whether to show the precision
for elements. See PRINTING below.
- ``check`` -- bool (default ``True``) whether to check if `p` is prime.
Expand Down Expand Up @@ -663,7 +663,7 @@ def Qq(q, prec = None, type = 'capped-rel', modulus = None, names=None,
number of terms in the polynomial representation of an element
(using ``'terse'``). See PRINTING below.
- ``show_prec`` -- bool (default ``None``) Whether to show the precision
- ``show_prec`` -- bool (default ``None``) whether to show the precision
for elements. See PRINTING below.
- ``check`` -- bool (default ``True``) whether to check inputs.
Expand Down Expand Up @@ -1236,7 +1236,7 @@ class Zp_class(UniqueFactory):
- ``print_max_terms`` -- integer (default ``None``) The maximum
number of terms shown. See PRINTING below.
- ``show_prec`` -- bool (default ``None``) Whether to show the precision
- ``show_prec`` -- bool (default ``None``) whether to show the precision
for elements. See PRINTING below.
- ``check`` -- bool (default ``True``) whether to check if `p` is
Expand Down
6 changes: 3 additions & 3 deletions src/sage/rings/padics/local_generic.py
Expand Up @@ -193,7 +193,7 @@ def _latex_(self):
return self._repr_(do_latex = True)

def change(self, **kwds):
"""
r"""
Return a new ring with changed attributes.
INPUT:
Expand Down Expand Up @@ -225,10 +225,10 @@ def change(self, **kwds):
the precision on the base is increased as necessary (respecting ramification).
If the precision is decreased, the precision of the base is unchanged.
- ``field`` -- bool. If True, switch to a tower of fields via the fraction field.
- ``field`` -- bool. If ``True``, switch to a tower of fields via the fraction field.
If False, switch to a tower of rings of integers.
- ``q`` -- prime power. Replace the initial unramified extension of `\Qp` or `\Zp`
- ``q`` -- prime power. Replace the initial unramified extension of `\Q_p` or `\Z_p`
with an unramified extension of residue cardinality `q`.
If the initial extension is ramified, add in an unramified extension.
Expand Down

0 comments on commit 7428353

Please sign in to comment.