code: def check_args_order(func):
      '''Reads a numpydoc function and compares the Parameters and
      Other Parameters with the input arguments of the actual function signature.
      Raises an exception if not correctly defined.
      
      >>> check_args_order(fluids.core.Reynolds)
      '''
      argspec = inspect.getargspec(func)
      parsed_data = parse_numpydoc_variables_units(func)
      # compare the parsed arguments with those actually defined
      parsed_units = parsed_data['Parameters']['units']
      parsed_parameters = parsed_data['Parameters']['vars']
      if 'Other Parameters' in parsed_data:
          parsed_parameters += parsed_data['Other Parameters']['vars']
          parsed_units += parsed_data['Other Parameters']['units']
      
      if argspec.args != parsed_parameters: # pragma: no cover
          raise Exception('Function %s signature is not the same as the documentation'
                          ' signature = %s; documentation = %s' %(func.__name__, argspec.args, parsed_parameters)f check_args_order(func):
      '''Reads a numpydoc function and compares the Parameters and
      Other Parameters with the input arguments of the actual function signature.
      Raises an exception if not correctly defined.
      
      >>> check_args_order(fluids.core.Reynolds)
      '''
      argspec = inspect.getargspec(func)
      parsed_data = parse_numpydoc_variables_units(func)
      # compare the parsed arguments with those actually defined
      parsed_units = parsed_data['Parameters']['units']
      parsed_parameters = parsed_data['Parameters']['vars']
      if 'Other Parameters' in parsed_data:
          parsed_parameters += parsed_data['Other Parameters']['vars']
          parsed_units += parsed_data['Other Parameters']['units']
      
      if argspec.args != parsed_parameters: # pragma: no cover
          raise Exception('Function %s signature is not the same as the documentation'
                          ' signature = %s; documentation = %s' %(func.__name__, argspec.args, parsed_parameters))
docs: Reads a numpydoc function and compares the Parameters and
      Other Parameters with the input arguments of the actual function signature.
      Raises an exception if not correctly defined.
      
      >>> check_args_order(fluids.core.Reynolds)