@@ -525,15 +525,17 @@ def label(self) -> str:
525
525
def newform (self , names = None ):
526
526
"""
527
527
Return the newform `f` such that this abelian variety is isogenous to
528
- the newform abelian variety `A_f`. If this abelian variety is not
529
- simple, raise a ``ValueError``.
528
+ the newform abelian variety `A_f`.
529
+
530
+ If this abelian variety is not
531
+ simple, this raises a :class:`ValueError`.
530
532
531
533
INPUT:
532
534
533
- - ``names`` -- (default: None) If the newform has coefficients in a
534
- number field, then a generator name must be specified.
535
+ - ``names`` -- (default: `` None`` ) If the newform has coefficients
536
+ in a number field, then a generator name must be specified.
535
537
536
- OUTPUT: A newform `f` so that self is isogenous to `A_f`.
538
+ OUTPUT: A newform `f` so that `` self`` is isogenous to `A_f`.
537
539
538
540
EXAMPLES::
539
541
@@ -3237,22 +3239,25 @@ def degen_t(self, none_if_not_known=False):
3237
3239
def isogeny_number (self , none_if_not_known = False ):
3238
3240
"""
3239
3241
Return the number (starting at 0) of the isogeny class of new
3240
- simple abelian varieties that self is in. If self is not simple,
3241
- raises a :class:`ValueError` exception.
3242
+ simple abelian varieties that ``self`` is in.
3243
+
3244
+ If ``self`` is not simple,
3245
+ this raises a :class:`ValueError` exception.
3242
3246
3243
3247
INPUT:
3244
3248
3245
- - ``none_if_not_known`` -- bool (default: False); if
3246
- True then this function may return None instead of True of False if
3247
- we don't already know the isogeny number of self.
3249
+ - ``none_if_not_known`` -- bool (default: ``False``); if
3250
+ ``True`` then this function may return ``None`` instead of ``True``
3251
+ or ``False`` if
3252
+ we do not already know the isogeny number of ``self``.
3248
3253
3249
- EXAMPLES: We test the none_if_not_known flag first::
3254
+ EXAMPLES: We test the `` none_if_not_known`` flag first::
3250
3255
3251
3256
sage: J0(33).isogeny_number(none_if_not_known=True) is None
3252
3257
True
3253
3258
3254
3259
Of course, `J_0(33)` is not simple, so this function
3255
- raises a ValueError::
3260
+ raises a :class:` ValueError` ::
3256
3261
3257
3262
sage: J0(33).isogeny_number()
3258
3263
Traceback (most recent call last):
0 commit comments