diff --git a/src/sage/functions/all.py b/src/sage/functions/all.py index ef19cf4d444..ab16ff742a3 100644 --- a/src/sage/functions/all.py +++ b/src/sage/functions/all.py @@ -40,7 +40,7 @@ from .special import (spherical_harmonic, elliptic_e, elliptic_f, elliptic_ec, elliptic_eu, - elliptic_kc, elliptic_pi, elliptic_j, error_fcn) + elliptic_kc, elliptic_pi, elliptic_j) from .jacobi import (jacobi, inverse_jacobi, jacobi_nd, jacobi_ns, jacobi_nc, jacobi_dn, jacobi_ds, jacobi_dc, jacobi_sn, jacobi_sd, diff --git a/src/sage/functions/special.py b/src/sage/functions/special.py index 8902fe2875a..6d1011e3684 100644 --- a/src/sage/functions/special.py +++ b/src/sage/functions/special.py @@ -142,7 +142,7 @@ by hardware floats precision. """ -#***************************************************************************** +# **************************************************************************** # Copyright (C) 2006 William Stein # 2006 David Joyner # @@ -155,8 +155,8 @@ # # The full text of the GPL is available at: # -# http://www.gnu.org/licenses/ -#***************************************************************************** +# https://www.gnu.org/licenses/ +# **************************************************************************** from sage.rings.integer import Integer from sage.rings.real_mpfr import RealField @@ -174,6 +174,7 @@ from sage.functions.all import sqrt, sin, cot, exp from sage.symbolic.all import I + class SphericalHarmonic(BuiltinFunction): r""" Returns the spherical harmonic function `Y_n^m(\theta, \varphi)`. @@ -1014,23 +1015,3 @@ def _print_latex_(self, n, z, m): return r"\Pi(%s,%s,%s)" % (latex(n), latex(z), latex(m)) elliptic_pi = EllipticPi() - - -def error_fcn(x): - """ - Deprecated in :trac:`21819`. Please use ``erfc()``. - - EXAMPLES:: - - sage: error_fcn(x) - doctest:warning - ... - DeprecationWarning: error_fcn() is deprecated. Please use erfc() - See http://trac.sagemath.org/21819 for details. - erfc(x) - """ - from .error import erfc - from sage.misc.superseded import deprecation - deprecation(21819, "error_fcn() is deprecated. Please use erfc()") - return erfc(x) -