Skip to content

Commit 6a3da0f

Browse files
Peter Kessenfelixdivo
authored andcommitted
Fix spell error touple to tuple
1 parent b693494 commit 6a3da0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

can/interfaces/pcan/basic.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ def Read(self, Channel):
814814
"""Reads a CAN message from the receive queue of a PCAN Channel
815815
816816
Remarks:
817-
The return value of this method is a 3-touple, where
817+
The return value of this method is a 3-tuple, where
818818
the first value is the result (TPCANStatus) of the method.
819819
The order of the values are:
820820
[0]: A TPCANStatus error code
@@ -843,7 +843,7 @@ def ReadFD(self, Channel):
843843
"""Reads a CAN message from the receive queue of a FD capable PCAN Channel
844844
845845
Remarks:
846-
The return value of this method is a 3-touple, where
846+
The return value of this method is a 3-tuple, where
847847
the first value is the result (TPCANStatus) of the method.
848848
The order of the values are:
849849
[0]: A TPCANStatus error code
@@ -943,7 +943,7 @@ def GetValue(self, Channel, Parameter):
943943
of Hardware (PCAN Channel) being used. If a parameter is not available,
944944
a PCAN_ERROR_ILLPARAMTYPE error will be returned.
945945
946-
The return value of this method is a 2-touple, where
946+
The return value of this method is a 2-tuple, where
947947
the first value is the result (TPCANStatus) of the method and
948948
the second one, the asked value
949949
@@ -1038,7 +1038,7 @@ def GetErrorText(self, Error, Language=0):
10381038
Neutral (0x00), German (0x07), English (0x09), Spanish (0x0A),
10391039
Italian (0x10) and French (0x0C)
10401040
1041-
The return value of this method is a 2-touple, where
1041+
The return value of this method is a 2-tuple, where
10421042
the first value is the result (TPCANStatus) of the method and
10431043
the second one, the error text
10441044
@@ -1063,7 +1063,7 @@ def LookUpChannel(self, Parameters):
10631063
10641064
Remarks:
10651065
1066-
The return value of this method is a 2-touple, where
1066+
The return value of this method is a 2-tuple, where
10671067
the first value is the result (TPCANStatus) of the method and
10681068
the second one a TPCANHandle value
10691069

0 commit comments

Comments
 (0)