parameters: (l, value)
docstring: try to find a address gap in the list of modbus registers
docstring_summary: try to find a address gap in the list of modbus registers
docstring_tokens: try to find a address gap in the list of modbus registers
function: def find_gap(l, value):
      """
      try to find a address gap in the list of modbus registers
      """
      for index in range(len(l)):
          if l[index] == value:
              return None
          if l[index] > value:
              return index
function_tokens: def find_gap ( l , value ) : for index in range ( len ( l ) ) : if l [ index ] == value : return None if l [ index ] > value : return index