[IPython-dev] %r vs %rep
fperez.net at gmail.com
Fri Sep 7 14:51:40 EDT 2007
On 9/7/07, Ville M. Vainio <vivainio at gmail.com> wrote:
> On 9/7/07, Fernando Perez <fperez.net at gmail.com> wrote:
> > I'd still like to know what's going on with the above, since the docstring says
> > Place a string version of last input to the next input prompt. Allows you
> > to create elaborate command lines without using copy-paste::
> > but it seems to put the output instead. Am I confused?
> No, the documentation is buggy. It places the string version of _,
> i.e. last *result* on the line. I'll fix the doc.
OK. All the more reason to keep %r, since it is 'optimal' for certain
uses for which %rep is 'wrong' :)
More information about the IPython-dev