fix: clarify parent GEDCOM pointer format
Update docstring in src/individual.py to specify that the `father` and `mother` fields are GEDCOM pointers including the surrounding '@' characters (e.g. '@I1@', '@I2@'), removing ambiguity about the expected identifier format.
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -253,8 +253,8 @@ class Individual:
|
|||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
List of dictionaries with family information including:
|
List of dictionaries with family information including:
|
||||||
- father: str (father's GEDCOM ID) or None
|
- father: str (father's GEDCOM pointer, including surrounding '@' characters, e.g. '@I1@') or None
|
||||||
- mother: str (mother's GEDCOM ID) or None
|
- mother: str (mother's GEDCOM pointer, including surrounding '@' characters, e.g. '@I2@') or None
|
||||||
"""
|
"""
|
||||||
families = []
|
families = []
|
||||||
self_pointer = self.element.get_pointer()
|
self_pointer = self.element.get_pointer()
|
||||||
|
|||||||
Reference in new issue
Block a user