Mercurial > babel > old > mirror
diff babel/core.py @ 441:9549bb80a5a7
Current CDLR has implemented the full type specifiers on the dateTimeFormats,
as a result you cannot call None on the dictionary anymore since it's no
longer a key for it.
author | jruigrok |
---|---|
date | Sat, 22 Aug 2009 12:53:45 +0000 |
parents | 5f1ff3442ef7 |
children | e93f68837913 |
line wrap: on
line diff
--- a/babel/core.py +++ b/babel/core.py @@ -598,9 +598,9 @@ datetime_formats = property(datetime_formats, doc="""\ Locale patterns for datetime formatting. - >>> Locale('en').datetime_formats[None] + >>> Locale('en').datetime_formats['full'] u'{1} {0}' - >>> Locale('th').datetime_formats[None] + >>> Locale('th').datetime_formats['medium'] u'{1}, {0}' :type: `dict`