Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
acolomb committed Aug 17, 2024
1 parent a46d114 commit 27b3724
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/sdo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,27 +225,27 @@ API
.. describe:: iter(array)

Return an iterator over the subindexes from the array.
This will make a SDO read operation on subindex 0 in order to get the
This will make an SDO read operation on subindex 0 in order to get the
actual length of the array. This "highest subindex" entry is officially
not part of the data and thus skipped in the yielded values.

.. describe:: subindex in array

Return ``True`` if the subindex (as int) or name (as string) exists in
the array.
This will make a SDO read operation on subindex 0 in order to get the
This will make an SDO read operation on subindex 0 in order to get the
actual length of the array.

.. describe:: len(array)

Return the length of the array, not counting the "highest subindex" entry
itself.
This will make a SDO read operation on subindex 0.
This will make an SDO read operation on subindex 0.

.. method:: values()

Return a list of :class:`canopen.sdo.SdoVariable` in the array.
This will make a SDO read operation on subindex 0 in order to get the
This will make an SDO read operation on subindex 0 in order to get the
actual length of the array.


Expand Down

0 comments on commit 27b3724

Please sign in to comment.