From 4575a43faa2a5bad2eeb8191167e8b37cd06ab9a Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 8 Jun 2005 14:02:45 +0000 Subject: [PATCH] * src/RelLib.py (add_parent_family_handle, change_parent_family_handle): Correct the docstring to reflect tuple relationships. svn: r4804 --- gramps2/ChangeLog | 3 +++ gramps2/src/RelLib.py | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7ccf61d96..9e88674b8 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -4,6 +4,9 @@ * src/SelectChild.py: Support for (int,str) relationships. * src/gramps.glade (selec_child,modparents,familyDialog): Replace ComboBoxes with ComboBoxEntries. + * src/RelLib.py (add_parent_family_handle, + change_parent_family_handle): Correct the docstring to reflect + tuple relationships. 2005-06-07 Alex Roitman * src/gramps.glade (selecty_person): Change positioning; add icon. diff --git a/gramps2/src/RelLib.py b/gramps2/src/RelLib.py index 476a7432f..f2139af1e 100644 --- a/gramps2/src/RelLib.py +++ b/gramps2/src/RelLib.py @@ -1558,9 +1558,9 @@ class Person(PrimaryObject,PrivateSourceNote,MediaBase,AttributeBase): Person's L{Family} list. @type family_handle: str @param mrel: relationship between the Person and its mother - @type mrel: str + @type mrel: tuple @param frel: relationship between the Person and its father - @type frel: str + @type frel: tuple """ self.parent_family_list.append((family_handle,mrel,frel)) @@ -1602,9 +1602,9 @@ class Person(PrimaryObject,PrivateSourceNote,MediaBase,AttributeBase): Person's L{Family} list. @type family_handle: str @param mrel: relationship between the Person and its mother - @type mrel: str + @type mrel: tuple @param frel: relationship between the Person and its father - @type frel: str + @type frel: tuple """ index=0 for f in self.parent_family_list[:]: