Mercurial > babel > old > mirror
changeset 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 | a3ddb13ff2a6 |
children | fa1625bcbe47 |
files | babel/core.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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`