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 

2def deprecated(old, new): 

3 print("WARNING!") 

4 print("WARNING!") 

5 print("WARNING: Use of %s has been deprecated in favor of %s." % (old, new)) 

6 print("WARNING: Please update your code.") 

7 print("WARNING!") 

8 print("WARNING!")