[I18n-sig] Re: pygettext dilemma

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sun, 12 Aug 2001 10:57:39 +0200


> One problem is that Python does not seem to automatically concatenate a
> sequence of strings as a single one, when in docstring position.

What version did you use to try this? It works fine for me:

Python 2.0 (#1, May 16 2001, 00:02:45)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> def foo():
...   ""'Hallo'
...
>>> foo.__doc__
'Hallo'

Regards,
Martin