A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035472.html below:

[Python-Dev] odd interpreter feature

[Python-Dev] odd interpreter feature [Python-Dev] odd interpreter featurePat Miller patmiller@llnl.gov
Wed, 07 May 2003 10:25:57 -0700
Skip writes:


>    >>> # hello:
>    ...
>    >>>
> 
> Shouldn't the trailing colon be ignored in comments?  Bug, feature or wart?

I figured it was a feature...  Taking the view that any source block asks
for continuations seemed natural, so I assumed Guido intended it that way ;-)

If the comments were active objects (like doc strings), then it would
be the desired association.
 >>> # About to do something tricky
... tricky()
 >>>


Pat

-- 
Patrick Miller | (925) 423-0309 | http://www.llnl.gov/CASC/people/pmiller

All you need in this life is ignorance and confidence, and then success is
sure. -- Mark Twain




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4