Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

deprecation_msg = "{} is deprecated and will be removed from Sage.\n" \ 

"You are advised to install the surface_dynamics package via:\n" \ 

" sage -pip install surface_dynamics\n" \ 

"If you do not have write access to the Sage installation you can\n" \ 

"alternatively do\n" \ 

" sage -pip install surface_dynamics --user\n" \ 

"The package surface_dynamics subsumes all flat surface related\n" \ 

"computation that are currently available in Sage. See more\n" \ 

"information at\n" \ 

" http://www.labri.fr/perso/vdelecro/surface-dynamics/latest/" 

 

def surface_dynamics_deprecation(name): 

r""" 

TESTS:: 

 

sage: from sage.dynamics.surface_dynamics_deprecation import surface_dynamics_deprecation 

sage: surface_dynamics_deprecation("HeYhEy") 

doctest:...: DeprecationWarning: HeYhEy is deprecated and will be removed from Sage. 

You are advised to install the surface_dynamics package via: 

sage -pip install surface_dynamics 

If you do not have write access to the Sage installation you can 

alternatively do 

sage -pip install surface_dynamics --user 

The package surface_dynamics subsumes all flat surface related 

computation that are currently available in Sage. See more 

information at 

http://www.labri.fr/perso/vdelecro/surface-dynamics/latest/ 

See http://trac.sagemath.org/20695 for details. 

""" 

from sage.misc.superseded import deprecation 

deprecation(20695, deprecation_msg.format(name))