[I18n-sig] Re: Patch 101320: doc strings

François Pinard pinard@iro.umontreal.ca
06 Sep 2000 11:05:00 -0400

[Barry A. Warsaw]

> gettext.install() is for application that have their own global text
> domains.  You don't want to have to define _() in every file in the
> application.

I would.  It is a simple habit to define _() after the docstring, for modules
needing it, and it might also be a safer habit when you move modules around,
something which is more natural in Python than in other languages.

François Pinard   http://www.iro.umontreal.ca/~pinard