Moshe Zadka moshez at
Thu Apr 20 21:40:12 CEST 2000

On Thu, 20 Apr 2000, Ben Wolfson wrote:

> is there a way to use %c and %s within a docstring, or to add strings
> together in a docstring, so that if some strings are used in all
> docstrings, but might be changed, I can simply change one or two
> variables?

Short answer: no

Long answer: of course, but it'll take some doing.

class a:

	__doc__ = 'hello '*3+'world'

Works fine...

Moshe Zadka <mzadka at>. -- we put the penguin in .com

More information about the Python-list mailing list