##// END OF EJS Templates
Change wording of example so
Fernando Perez -
Show More
@@ -1854,13 +1854,17 b' class InteractiveShell(Configurable, Magic):'
1854 def auto_rewrite_input(self, cmd):
1854 def auto_rewrite_input(self, cmd):
1855 """Print to the screen the rewritten form of the user's command.
1855 """Print to the screen the rewritten form of the user's command.
1856
1856
1857 This shows visual feedback for things like::
1857 This shows visual feedback by rewriting input lines that cause
1858
1858 automatic calling to kick in, like::
1859 In [1]: /f x
1859
1860 ------> f(x)
1860 /f x
1861
1862 into::
1861
1863
1862 Which helps the user understand that the input line was transformed
1864 ------> f(x)
1863 automatically.
1865
1866 after the user's input prompt. This helps the user understand that the
1867 input line was transformed automatically by IPython.
1864 """
1868 """
1865 rw = self.displayhook.prompt1.auto_rewrite() + cmd
1869 rw = self.displayhook.prompt1.auto_rewrite() + cmd
1866
1870
General Comments 0
You need to be logged in to leave comments. Login now