Show More
@@ -132,22 +132,3 def temp_pyfile(src, ext='.py'): | |||
|
132 | 132 | f.write(src) |
|
133 | 133 | f.flush() |
|
134 | 134 | return fname |
|
135 | ||
|
136 | ||
|
137 | @undoc | |
|
138 | def raw_print(*args, **kw): | |
|
139 | """DEPRECATED: Raw print to sys.__stdout__, otherwise identical interface to print().""" | |
|
140 | warn("IPython.utils.io.raw_print has been deprecated since IPython 7.0", DeprecationWarning, stacklevel=2) | |
|
141 | ||
|
142 | print(*args, sep=kw.get('sep', ' '), end=kw.get('end', '\n'), | |
|
143 | file=sys.__stdout__) | |
|
144 | sys.__stdout__.flush() | |
|
145 | ||
|
146 | @undoc | |
|
147 | def raw_print_err(*args, **kw): | |
|
148 | """DEPRECATED: Raw print to sys.__stderr__, otherwise identical interface to print().""" | |
|
149 | warn("IPython.utils.io.raw_print_err has been deprecated since IPython 7.0", DeprecationWarning, stacklevel=2) | |
|
150 | ||
|
151 | print(*args, sep=kw.get('sep', ' '), end=kw.get('end', '\n'), | |
|
152 | file=sys.__stderr__) | |
|
153 | sys.__stderr__.flush() |
General Comments 0
You need to be logged in to leave comments.
Login now