Skip to content

Commit

Permalink
Improve segment.py. (#783)
Browse files Browse the repository at this point in the history
* Minor documentation improvements.

---------

Co-authored-by: knutnergaard <knutnergaard@users.noreply.github.com>
  • Loading branch information
knutnergaard and knutnergaard authored Nov 20, 2024
1 parent 8dd7eb2 commit cf959fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Lib/fontParts/base/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ def _iterPoints(self, **kwargs: Any) -> Generator[BasePoint]:
This is the environment implementation of :meth:`BaseSegment.__iter__`.
:return: An iterator over the :class:`BasePoint` instances belonging to
the segment.
:return: An iterator over the :class:`BasePoint` subclass instances
belonging to the segment.
.. note::
Expand Down Expand Up @@ -481,7 +481,7 @@ def _len(self, **kwargs: Any) -> int:
This is the environment implementation of :meth:`BaseSegment.__len__`.
:return: An :class:`int` representing the number of :class:`BasePoint`
instances belonging to the segment.
subclass instances belonging to the segment.
.. note::
Expand All @@ -496,7 +496,7 @@ def _len(self, **kwargs: Any) -> int:
This attribute is read-only.
:return: A :class:`tuple` of :class`BasePoints`.
:return: A :class:`tuple` of :class`BasePoint` instances.
""",
)
Expand Down

0 comments on commit cf959fd

Please sign in to comment.