26 lines
927 B
Plaintext
26 lines
927 B
Plaintext
From: wtanksle at dolphin.openprojects.net (William Tanksley)
|
|
Date: Sun, 04 Apr 1999 05:49:07 GMT
|
|
Subject: Why are they? Re: Module Documentation Strings
|
|
References: <Pine.SUN.3.95-heb-2.07.990403202446.10549A-100000@sunset.ma.huji.ac.il> <Pine.GSO.3.96.990403203720.881S-100000@crusoe.crusoe.net>
|
|
Message-ID: <slrn7gdv8s.at.wtanksle@dolphin.openprojects.net>
|
|
X-UID: 1416
|
|
|
|
On Sat, 3 Apr 1999 20:38:37 -0500, evil Japh wrote:
|
|
>Why are there documentation strings?
|
|
>I mean, granted it would be very bad if the next version of python did not
|
|
>support them, but why not just use comment lines?
|
|
|
|
Because comment lines are only visible within the source. Docstrings may be
|
|
accessed from anywhere, without any knowledge of the source.
|
|
|
|
>Jeff Pinyan (jeffp at crusoe.net)
|
|
|
|
--
|
|
-William "Billy" Tanksley
|
|
"But you shall not escape my iambics."
|
|
-- Gaius Valerius Catullus
|
|
|
|
|
|
|
|
|