[Python-3000] Ellipsis Literal

Jim Jewett jimjjewett at gmail.com
Wed Jan 23 16:54:36 CET 2008

On 1/23/08, Robert Kern <robert.kern at gmail.com> wrote:
> Raymond Hettinger wrote:
>  > I ask because the spelling has an unfortunate
>  > overlap with the sys.ps2 prompt:

>  >>>> def f(x):
>  > ...     return x+1
>  >
>  > I don't know if this is a problem.  Just thought I would bring it up.

> I've never encountered a problem with this ambiguity. At least, not in software.
> I don't know if affects newbie-comprehension of code snippets.

It did cause me some grief at one time, because I would try to
cut-and-paste examples (including docstrings).  Obviously, a block cut
(or copy) would have been better, at least in IDLE.  There might also
be room to improve the error messages, but I'm not entirely sure how.


More information about the Python-3000 mailing list