summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpclib.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2003-04-24 18:13:39 (GMT)
committerBarry Warsaw <barry@python.org>2003-04-24 18:13:39 (GMT)
commitc4acc2bd32f14c22f9cd7a95021184809e096ebe (patch)
treee51f109f210992aa53a0ca66b37cdb16c9fcd915 /Lib/xmlrpclib.py
parentedb155fda199f7fa481d0020e911a6eec0705dfa (diff)
downloadcpython-c4acc2bd32f14c22f9cd7a95021184809e096ebe.zip
cpython-c4acc2bd32f14c22f9cd7a95021184809e096ebe.tar.gz
cpython-c4acc2bd32f14c22f9cd7a95021184809e096ebe.tar.bz2
GNUTranslations:
__init__(): Removed since we no longer need the coerce flag. Message ids and strings are now always coerced to Unicode, /if/ the catalog specified a charset parameter. gettext(), ngettext(): Since the message strings are Unicodes in the catalog, coerce back to encoded 8-bit strings on return. ugettext(), ungettext(): Coerce the message ids to Unicode when there's no entry for the id in the catalog. Minor code cleanups; use booleans where appropriate.
Diffstat (limited to 'Lib/xmlrpclib.py')
0 files changed, 0 insertions, 0 deletions