Skip to content

Commit 1b12b5f

Browse files
author
Matthias Koeppe
committed
src/sage/rings/complex_{mpc,mpfr}.pyx: Remove method aliases deprecated in #29412 (2020)
1 parent 0b4b4fe commit 1b12b5f

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/sage/rings/complex_mpc.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ from .real_mpfr import mpfr_prec_min, mpfr_prec_max
8484
from sage.structure.richcmp cimport rich_to_bool, richcmp
8585
from sage.categories.fields import Fields
8686

87-
from sage.misc.superseded import deprecated_function_alias
88-
8987
cimport gmpy2
9088
gmpy2.import_gmpy2()
9189

@@ -1949,8 +1947,6 @@ cdef class MPComplexNumber(sage.structure.element.FieldElement):
19491947
"""
19501948
return ~(self.tan())
19511949

1952-
cotan = deprecated_function_alias(29412, cot)
1953-
19541950
################################
19551951
# Other functions
19561952
################################

src/sage/rings/complex_mpfr.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ from sage.libs.gsl.complex cimport *
5656
from sage.libs.mpmath.utils cimport mpfr_to_mpfval
5757
from sage.rings.integer_ring import ZZ
5858

59-
from sage.misc.superseded import deprecated_function_alias
60-
6159
cimport gmpy2
6260
gmpy2.import_gmpy2()
6361

@@ -2241,8 +2239,6 @@ cdef class ComplexNumber(sage.structure.element.FieldElement):
22412239
"""
22422240
return ~(self.tan())
22432241

2244-
cotan = deprecated_function_alias(29412, cot)
2245-
22462242
def cos(self):
22472243
"""
22482244
Return the cosine of ``self``.

0 commit comments

Comments
 (0)