Skip to content

Commit a815d62

Browse files
author
Matthias Koeppe
committed
src/sage/rings/number_field/number_field.py: Remove method deprecated in #30372 (2020)
1 parent 851468f commit a815d62

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/sage/rings/number_field/number_field.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3449,29 +3449,6 @@ def dirichlet_group(self):
34493449
H.append(chi)
34503450
return H
34513451

3452-
def latex_variable_name(self, name=None):
3453-
"""
3454-
Return the latex representation of the variable name for this
3455-
number field.
3456-
3457-
EXAMPLES::
3458-
3459-
sage: x = polygen(QQ, 'x')
3460-
sage: NumberField(x^2 + 3, 'a').latex_variable_name()
3461-
doctest:...: DeprecationWarning: This method is replaced by ...
3462-
See https://github.com/sagemath/sage/issues/30372 for details.
3463-
'a'
3464-
sage: NumberField(x^3 + 3, 'theta3').latex_variable_name()
3465-
'\\theta_{3}'
3466-
sage: CyclotomicField(5).latex_variable_name()
3467-
'\\zeta_{5}'
3468-
"""
3469-
deprecation(30372, 'This method is replaced by the method latex_variable_names')
3470-
if name is None:
3471-
return self._latex_names[0]
3472-
else:
3473-
self._latex_names = (name,)
3474-
34753452
def _repr_(self):
34763453
"""
34773454
Return string representation of this number field.

0 commit comments

Comments
 (0)