Skip to content

Commit

Permalink
re-add the rprint and rprinte alias.
Browse files Browse the repository at this point in the history
They are used in IPykernel 4.9 and I can see users upgrading IPython w/o
upgrading Ipykernel.
  • Loading branch information
Carreau committed Sep 25, 2018
1 parent 032cc8c commit 6787c01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions IPython/utils/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ def raw_print(*args, **kw):
file=sys.__stdout__)
sys.__stdout__.flush()

rprint = raw_print
rprinte = raw_print_err

@undoc
def raw_print_err(*args, **kw):
"""DEPRECATED: Raw print to sys.__stderr__, otherwise identical interface to print()."""
Expand Down

0 comments on commit 6787c01

Please sign in to comment.