7034: probably_alive() failing when no birth-death

docstring fix

svn: r23053
This commit is contained in:
Vassilii Khachaturov 2013-09-08 19:22:30 +00:00
parent 840e88f840
commit 14a69143e1

View File

@ -1298,7 +1298,8 @@ class Date(object):
def set2_yr_mon_day(self, year, month, day):
"""
Set the year, month, and day values.
Set the year, month, and day values in the 2nd part of
a compound date (range or span).
"""
dv = list(self.dateval)
dv[Date._POS_RYR] = year
@ -1340,7 +1341,8 @@ class Date(object):
def set2_yr_mon_day_offset(self, year=0, month=0, day=0):
"""
Set the year, month, and day values by offset.
Set the year, month, and day values by offset in the 2nd part
of a compound date (range or span).
"""
dv = list(self.dateval)
if dv[Date._POS_RYR]: