[I18n-sig] Re: Patch 101320: doc strings
Barry A. Warsaw
bwarsaw@beopen.com
Tue, 5 Sep 2000 23:47:19 -0400 (EDT)
>>>>> "FP" == ISO <pinard@iro.umontreal.ca> writes:
FP> As for `gettext.install' function, it looks awkward. This
FP> would be the only case I know, in the Python library, where a
FP> library function hacks a variable in the local name space.
It doesn't. gettext.install() hacks the __builtin__ module's
namespace, which is the last namespace search after locals and
globals. So if a module defines _(), that definition will override
the one put in __builtin__ by gettext.install().
-Barry