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:
Jared Howland committed 2026-04-16 23:07:13 -06:00
1 parent 0ba00d0ef7
commit 2071c01317
1 file changed
+2 -2
+2 -2
View File
@@ -253,8 +253,8 @@ class Individual:
Returns:
List of dictionaries with family information including:
- father: str (father's GEDCOM ID) or None
- mother: str (mother's GEDCOM ID) or None
- father: str (father's GEDCOM pointer, including surrounding '@' characters, e.g. '@I1@') or None
- mother: str (mother's GEDCOM pointer, including surrounding '@' characters, e.g. '@I2@') or None
"""
families = []
self_pointer = self.element.get_pointer()