Mercurial > babel > old > babel-test
comparison babel/messages/plurals.py @ 527:540cbe76f413
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 | eb42dbd6b9d6 |
children | 85e1beadacb0 |
comparison
equal
deleted
inserted
replaced
526:97e99dbc63f8 | 527:540cbe76f413 |
---|---|
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 |