breaking the ; habit
Dennis Lee Bieber
wlfraed at ix.netcom.com
Sat Feb 12 22:03:54 EST 2000
On Sat, 12 Feb 2000 21:08:52 -0500, R. O'Neil <deathbed_tech at usa.net>
declaimed the following in comp.lang.python:
> Wow that's nice. Is that something that's standard for the language or is
> it just a nice feature in the most common interpreters?
>
It's a side-effect...
The ";" is used to separate statements on a single line.
Therefore, using a ";" at the end of each statement is
effectively adding a null/empty statement immediately following
--
> ============================================================== <
> wlfraed at ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
> wulfraed at dm.net | Bestiaria Support Staff <
> ============================================================== <
> Bestiaria Home Page: http://www.beastie.dm.net/ <
> Home Page: http://www.dm.net/~wulfraed/ <
More information about the Python-list
mailing list