comparison babel/messages/checkers.py @ 525:eef19ada4296

Cleanup round #1: get rid of the frozenset/set utility code and imports. This is no longer needed with 2.4 and onward.
author jruigrok
date Sat, 05 Mar 2011 14:59:20 +0000
parents 31f2826d3fd6
children 85e1beadacb0
comparison
equal deleted inserted replaced
523:81e35b223dd6 525:eef19ada4296
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
22 21
23 #: list of format chars that are compatible to each other 22 #: list of format chars that are compatible to each other
24 _string_format_compatibilities = [ 23 _string_format_compatibilities = [
25 set(['i', 'd', 'u']), 24 set(['i', 'd', 'u']),
26 set(['x', 'X']), 25 set(['x', 'X']),
Copyright (C) 2012-2017 Edgewall Software