Skip to content
3 changes: 2 additions & 1 deletion src/sage/misc/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,8 @@ def krull_dimension(x):
sage: U.krull_dimension()
4
"""
deprecation(39311, "please use the krull_dimension method")
deprecation(39311, "this function is deprecated; use `krull_dimension()` instead")

return x.krull_dimension()


Expand Down
4 changes: 2 additions & 2 deletions src/sage/schemes/elliptic_curves/gp_simon.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def simon_two_descent(E, verbose=0, lim1=None, lim3=None, limtriv=None,
K_pari = pari.bnfinit(K.polynomial(), 1)
known_points = [P.change_ring(to_K) for P in known_points]
else:
deprecation(38461, "please use the 2-descent algorithm over QQ inside pari")
from_K = lambda x: x
deprecation(39311, "this method is deprecated; use `krull_dimension()` instead")
from_K = lambda x: x

# The block below mimics the defaults in Simon's scripts.
# They need to be changed when these are updated.
Expand Down