Skip to content

Commit a971852

Browse files
petrelharpmergify[bot]
authored andcommitted
very minor typo
1 parent 1faa722 commit a971852

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tskit/tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def append(self, row):
566566
properties of the new row. Both the objects returned from ``table[i]`` and
567567
e.g. ``ts.individual(i)`` work for this purpose, along with any other
568568
object with the correct attributes.
569-
:return: The ID of the newly added node.
569+
:return: The index of the newly added row.
570570
:rtype: int
571571
"""
572572
return self.add_row(
@@ -877,7 +877,7 @@ def add_row(self, flags=0, location=None, parents=None, metadata=None):
877877
:param object metadata: Any object that is valid metadata for the table's schema.
878878
Defaults to the default metadata value for the table's schema. This is
879879
typically ``{}``. For no schema, ``None``.
880-
:return: The ID of the newly added node.
880+
:return: The ID of the newly added individual.
881881
:rtype: int
882882
"""
883883
if metadata is None:

0 commit comments

Comments
 (0)