@@ -793,7 +793,7 @@ def _create_mask(self, match):
793793 next_mask_index = masks_used
794794
795795 self ._set_mask_register (next_mask_index , mask , match .extended )
796- # Append the actual mask to the 'in use' array so later we can
796+ # Append the actual mask to the 'in use' array so later we can
797797 # find it to use again
798798 self ._masks_in_use .append (mask )
799799 return next_mask_index
@@ -883,25 +883,25 @@ def listen(self, matches=None, *, timeout: float = 10):
883883 Creating a listener is an expensive operation and can interfere with reception of messages
884884 by other listeners.
885885
886- There is an implementation-defined maximum number of listeners and limit to the complexity of
887- the filters.
886+ There is an implementation-defined maximum number of listeners and limit to the complexity \
887+ of the filters.
888888
889- If the hardware cannot support all the requested matches, a ValueError is raised. Note that \
890- generally there are some number of hardware filters shared among all fifos.
889+ If the hardware cannot support all the requested matches, a ValueError is raised. Note \
890+ that generally there are some number of hardware filters shared among all fifos.
891891
892- A message can be received by at most one Listener. If more than one listener matches a message, \
893- it is undefined which one actually receives it.
892+ A message can be received by at most one Listener. If more than one listener matches a \
893+ message, it is undefined which one actually receives it.
894894
895895 The MCP2515 has space for 2 masks (RXM0/RXM1) and 6 filters (RXMF0-RXMF5). \
896- Mask RXM0 is paired with 2 filters (RXF0-1) and mask RXM1 is paired with 4 filters (RXF2-5). \
897- Read the MCP2515 datasheet for more details on masks and filters.
896+ Mask RXM0 is paired with 2 filters (RXF0-1) and mask RXM1 is paired with 4 filters \
897+ (RXF2-5). Read the MCP2515 datasheet for more details on masks and filters.
898898
899899 You can use up to 6 matches (match = mask & filter) in the array. \
900900 The order of the match objects in the array matters. \
901901 The first unique mask will be placed in RXM0 and can be paired with up to 2 filters. \
902902 The second unique mask will be placed in RXM1 and can be paired with up to 4 filters. \
903- When no mask is defined in the match object, an 'exact match' mask of all 1's will be used. \
904- You can use the same mask in multiple matches, however if there are more than \
903+ When no mask is defined in the match object, an 'exact match' mask of all 1's will be \
904+ used. You can use the same mask in multiple matches, however if there are more than \
905905 2 unique masks in the matches array, a RuntimeError will be raised. \
906906 Similarly if there are more than 2 filters used with the first unique mask or \
907907 more than 4 filters used with the second unique mask a RuntimeError will be raised.
@@ -914,7 +914,8 @@ def listen(self, matches=None, *, timeout: float = 10):
914914 timeout (float, optional): dictates how long ``receive()`` will block. Defaults to 10.
915915
916916 Returns:
917- `canio.Listener`: Listener object used to receive CANio packets based on the arguments passed into ``listen()``
917+ `canio.Listener`: Listener object used to receive CANio packets based on the arguments \
918+ passed into ``listen()``
918919 """
919920 if matches is None :
920921 matches = []
0 commit comments