diff options
author | Georg Brandl <georg@python.org> | 2009-01-03 21:26:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-03 21:26:05 (GMT) |
commit | a1c6a1cea5af1d3c7682a8e99b001b0904480e4d (patch) | |
tree | 85461d1ba5237440b36f253b197779190226a294 /Doc/library/gettext.rst | |
parent | 48310cd3f2e02ced9ae836ccbcb67e9af3097d62 (diff) | |
download | cpython-a1c6a1cea5af1d3c7682a8e99b001b0904480e4d.zip cpython-a1c6a1cea5af1d3c7682a8e99b001b0904480e4d.tar.gz cpython-a1c6a1cea5af1d3c7682a8e99b001b0904480e4d.tar.bz2 |
Merged revisions 68221 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68221 | georg.brandl | 2009-01-03 22:04:55 +0100 (Sat, 03 Jan 2009) | 2 lines
Remove tabs from the documentation.
........
Diffstat (limited to 'Doc/library/gettext.rst')
-rw-r--r-- | Doc/library/gettext.rst | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst index cd229e7..a295c0e 100644 --- a/Doc/library/gettext.rst +++ b/Doc/library/gettext.rst @@ -551,10 +551,9 @@ translation until later. A classic example is:: animals = ['mollusk', 'albatross', - 'rat', - 'penguin', - 'python', - ] + 'rat', + 'penguin', + 'python', ] # ... for a in animals: print(a) @@ -569,10 +568,9 @@ Here is one way you can handle this situation:: animals = [_('mollusk'), _('albatross'), - _('rat'), - _('penguin'), - _('python'), - ] + _('rat'), + _('penguin'), + _('python'), ] del _ @@ -595,10 +593,9 @@ Another way to handle this is with the following example:: animals = [N_('mollusk'), N_('albatross'), - N_('rat'), - N_('penguin'), - N_('python'), - ] + N_('rat'), + N_('penguin'), + N_('python'), ] # ... for a in animals: |