Typo fixed.

svn: r11674
This commit is contained in:
Peter Landgren 2009-01-20 13:03:28 +00:00
parent eb92b6d693
commit 3fc705f784

View File

@ -1115,7 +1115,7 @@ class Date:
Set the calendar selected for the date. Set the calendar selected for the date.
""" """
if val not in (Date.CAL_GREGORIAN, Date.CAL_JULIAN, Date.CAL_HEBREW, if val not in (Date.CAL_GREGORIAN, Date.CAL_JULIAN, Date.CAL_HEBREW,
Date.CAL_FRENCH, Date.CAL_PERSIAN, Date.CAL_ISLAMIC, Date-CAL_SWEDISH): Date.CAL_FRENCH, Date.CAL_PERSIAN, Date.CAL_ISLAMIC, Date.CAL_SWEDISH):
raise DateError("Invalid calendar") raise DateError("Invalid calendar")
self.calendar = val self.calendar = val