Show More
@@ -10,11 +10,9 b' from __future__ import print_function' | |||
|
10 | 10 | |
|
11 | 11 | import sys |
|
12 | 12 | import warnings |
|
13 | from IPython.utils.decorators import undoc | |
|
14 | 13 | |
|
15 | 14 | warnings.warn("The module IPython.utils.warn is deprecated since IPython 4.0, use the standard warnings module instead", DeprecationWarning) |
|
16 | 15 | |
|
17 | @undoc | |
|
18 | 16 | def warn(msg,level=2,exit_val=1): |
|
19 | 17 | """Deprecated |
|
20 | 18 | |
@@ -43,7 +41,6 b' def warn(msg,level=2,exit_val=1):' | |||
|
43 | 41 | sys.exit(exit_val) |
|
44 | 42 | |
|
45 | 43 | |
|
46 | @undoc | |
|
47 | 44 | def info(msg): |
|
48 | 45 | """Deprecated |
|
49 | 46 | |
@@ -52,7 +49,6 b' def info(msg):' | |||
|
52 | 49 | warn(msg,level=1) |
|
53 | 50 | |
|
54 | 51 | |
|
55 | @undoc | |
|
56 | 52 | def error(msg): |
|
57 | 53 | """Deprecated |
|
58 | 54 | |
@@ -61,7 +57,6 b' def error(msg):' | |||
|
61 | 57 | warn(msg,level=3) |
|
62 | 58 | |
|
63 | 59 | |
|
64 | @undoc | |
|
65 | 60 | def fatal(msg,exit_val=1): |
|
66 | 61 | """Deprecated |
|
67 | 62 |
General Comments 0
You need to be logged in to leave comments.
Login now