[Zope3-checkins] CVS: Zope3/src/zope/i18n/locales - __init__.py:1.2
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Mar 2 09:26:46 EST 2004
Update of /cvs-repository/Zope3/src/zope/i18n/locales
In directory cvs.zope.org:/tmp/cvs-serv22443/src/zope/i18n/locales
Modified Files:
__init__.py
Log Message:
Removed XXX comment; tests are covered by regular unittests right now.
=== Zope3/src/zope/i18n/locales/__init__.py 1.1 => 1.2 ===
--- Zope3/src/zope/i18n/locales/__init__.py:1.1 Thu Feb 5 17:52:23 2004
+++ Zope3/src/zope/i18n/locales/__init__.py Tue Mar 2 09:26:45 2004
@@ -482,16 +482,11 @@
def getFormatter(self, category, length=None, name=None,
calendar=u'gregorian'):
- """See zope.i18n.interfaces.locales.ILocaleDates
-
- Examples::
-
- XXX
-
- """
+ """See zope.i18n.interfaces.locales.ILocaleDates"""
assert category in (u'date', u'time', u'dateTime')
- assert calendar in (u'gregorian', u'arabic', u'chinese', u'civil-arabic',
- u'hebrew', u'japanese', u'thai-buddhist')
+ assert calendar in (u'gregorian', u'arabic', u'chinese',
+ u'civil-arabic', u'hebrew', u'japanese',
+ u'thai-buddhist')
assert length in (u'short', u'medium', u'long', u'full', None)
cal = self.calendars[calendar]
More information about the Zope3-Checkins
mailing list