Mercurial > babel > old > mirror
comparison babel/messages/plurals.py @ 529:5b62a9699780
Get rid of the utility code for itemgetter(), we now simply import this
from operator.
author | jruigrok |
---|---|
date | Sat, 05 Mar 2011 15:06:28 +0000 |
parents | 9f54c82c241d |
children | e93f68837913 |
comparison
equal
deleted
inserted
replaced
528:86d221c0eb12 | 529:5b62a9699780 |
---|---|
12 # history and logs, available at http://babel.edgewall.org/log/. | 12 # history and logs, available at http://babel.edgewall.org/log/. |
13 | 13 |
14 """Plural form definitions.""" | 14 """Plural form definitions.""" |
15 | 15 |
16 from babel.core import default_locale, Locale | 16 from babel.core import default_locale, Locale |
17 from babel.util import itemgetter | 17 from operator import itemgetter |
18 | 18 |
19 | 19 |
20 LC_CTYPE = default_locale('LC_CTYPE') | 20 LC_CTYPE = default_locale('LC_CTYPE') |
21 | 21 |
22 | 22 |