Re: python strings ( function func_doc strings )

Donald Beaudry (
Tue, 26 Apr 94 09:52:28 EDT

>>>> On Mon, 25 Apr 1994 17:23:39 -0400, "Steven D. Majewski" <> said:

> I would like to contradict myself (again) and AGAIN propose that an
> optional lisp-like doc-string syntax be added to the syntax for def
> ( and maybe lambda ) along with a new function attribute: func_doc,
> to hold that string.

This, or even somthing resembling it gets a YES vote from me.

I particularly like the what emacs does.

(For the emacs challanged: The first sentence of the paragraph is
supposed to be a short one-line description of the function and rest
of the paragraph describes the function in more detail. The first
sentence, along with the function name is then used to build a data
base which can be searched. The search returns the the function name
and the first sentence. The entire doc string can obtained once the
function name is known.)

______ ______
\_\_\_\ /#/#/#/
\_\_\_\ ______
\_\_\_V#/#/#/ Donald Beaudry
\_\_/#/#/#/ V. I. Corporation uunet!vicorp!don
\_/#/#/#/ 47 Pleasant Street PHONE: (413) 586-4144
V#/#/#/ Northampton, MA 01060 FAX: (413) 586-3805