[IPython-dev] %r vs %rep
Fri Sep 7 13:51:40 CDT 2007
On 9/7/07, Ville M. Vainio <firstname.lastname@example.org> wrote:
> On 9/7/07, Fernando Perez <email@example.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