Mercurial > babel > old > mirror
comparison babel/messages/mofile.py @ 163:2faa5dc63068
Slightly simplified CLI-frontend class.
author | cmlenz |
---|---|
date | Thu, 21 Jun 2007 16:12:38 +0000 |
parents | 661cb602781d |
children | aed3b2b06d19 |
comparison
equal
deleted
inserted
replaced
162:661cb602781d | 163:2faa5dc63068 |
---|---|
17 <http://www.gnu.org/software/gettext/manual/gettext.html#MO-Files>`_ | 17 <http://www.gnu.org/software/gettext/manual/gettext.html#MO-Files>`_ |
18 """ | 18 """ |
19 | 19 |
20 import array | 20 import array |
21 import struct | 21 import struct |
22 | |
23 __all__ = ['write_mo'] | |
24 __docformat__ = 'restructuredtext en' | |
22 | 25 |
23 def write_mo(fileobj, catalog, use_fuzzy=False): | 26 def write_mo(fileobj, catalog, use_fuzzy=False): |
24 """Write a catalog to the specified file-like object using the GNU MO file | 27 """Write a catalog to the specified file-like object using the GNU MO file |
25 format. | 28 format. |
26 | 29 |