Mercurial > babel > old > babel-test
comparison babel/messages/checkers.py @ 507:b29ff192b610 stable-0.9.x
Python 2.3 compatibility: backporting r456 and r457 to 0.9 branch (see #233)
author | fschwarz |
---|---|
date | Fri, 04 Mar 2011 13:14:03 +0000 |
parents | 07a27065102a |
children |
comparison
equal
deleted
inserted
replaced
505:06dab6ec802c | 507:b29ff192b610 |
---|---|
16 :since: version 0.9 | 16 :since: version 0.9 |
17 """ | 17 """ |
18 | 18 |
19 from itertools import izip | 19 from itertools import izip |
20 from babel.messages.catalog import TranslationError, PYTHON_FORMAT | 20 from babel.messages.catalog import TranslationError, PYTHON_FORMAT |
21 from babel.util import set | |
21 | 22 |
22 #: list of format chars that are compatible to each other | 23 #: list of format chars that are compatible to each other |
23 _string_format_compatibilities = [ | 24 _string_format_compatibilities = [ |
24 set(['i', 'd', 'u']), | 25 set(['i', 'd', 'u']), |
25 set(['x', 'X']), | 26 set(['x', 'X']), |