summaryrefslogtreecommitdiff
path: root/Lib/string.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1999-11-03 18:47:52 +0000
committerBarry Warsaw <barry@python.org>1999-11-03 18:47:52 +0000
commit5dbf526e8e79b35749f68fd8cfa4437e5146c5f7 (patch)
tree7656e1ed09f1f78233a27b950019e6541be55e72 /Lib/string.py
parenta507c3299177fd7505bc5685ca389ee759b7ab8d (diff)
downloadcpython-git-5dbf526e8e79b35749f68fd8cfa4437e5146c5f7.tar.gz
Several improvements, some of where were contributed by Bernhard
Herzog <herzog@online.de>. Specifically, --verbose/-v flag added pot_header added to make msgmerge and Emacs po-mode work better normalize(), escape(), safe_eval(): Improved normalization of strings for more .po file compatibility (e.g. C style). Handles emmbedded newlines better. Also added an identity function called _() and use it in the file where messages are printed. This allows us to selftest pygettext.py with itself as input.
Diffstat (limited to 'Lib/string.py')
0 files changed, 0 insertions, 0 deletions