diff 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
line wrap: on
line diff
--- a/babel/messages/plurals.py
+++ b/babel/messages/plurals.py
@@ -14,7 +14,7 @@
 """Plural form definitions."""
 
 from babel.core import default_locale, Locale
-from babel.util import itemgetter
+from operator import itemgetter
 
 
 LC_CTYPE = default_locale('LC_CTYPE')
Copyright (C) 2012-2017 Edgewall Software