From 3259d2ef4d43a8bc03b6704b39dbca9238f37ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Chapoton?= Date: Tue, 13 Nov 2018 13:58:56 +0100 Subject: [PATCH] remove a deprecated special function (after #21819) --- src/sage/functions/special.py | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) 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) -