parameters: (parameters: list, parameter: str)
return_statement: return parameters[0] if len(parameters) > 0 else None
docstring: Returns the first parameter in the list that is not the same as the parameter provided.
docstring_summary: Returns the first parameter in the list that is not the same as the parameter provided.
docstring_tokens: Returns the first parameter in the list that is not the same as the parameter provided .
function: def _get_first_parameter_from_list_not(parameters: list, parameter: str) -> str:
          """Returns the first parameter in the list that is not the same as the parameter provided."""
          if parameter in parameters:
              parameters.remove(parameter)
          return parameters[0] if len(parameters) > 0 else None
function_tokens: def _get_first_parameter_from_list_not ( parameters : list , parameter : str ) -> str : if parameter in parameters : parameters . remove ( parameter ) return parameters [ 0 ] if len ( parameters ) > 0 else None