parameters: (args)
docstring: Return the input file string if it can be found (and there is only
      one).
docstring_summary: Return the input file string if it can be found (and there is only
      one).
docstring_tokens: Return the input file string if it can be found ( and there is only one ) .
function: def get_input_file(args):
      """Return the input file string if it can be found (and there is only
      one)."""
      inputFiles = list()
      for arg in args:
          testarg = arg
          quotes = ('"', "'")
          while testarg.endswith(quotes):
              testarg = testarg[:-1]
          testarg = os.path.normcase(testarg)
  
          # Test if it is a source file
          if testarg.endswith(gSrcFileSuffixes):
              inputFiles.append(arg)
      if len(inputFiles) == 1:
          return inputFiles[0]
      else:
          return None
function_tokens: def get_input_file ( args ) : inputFiles = list ( ) for arg in args : testarg = arg quotes = ( '"' , "'" ) while testarg . endswith ( quotes ) : testarg = testarg [ : - 1 ] testarg = os . path . normcase ( testarg ) # Test if it is a source file if testarg . endswith ( gSrcFileSuffixes ) : inputFiles . append ( arg ) if len ( inputFiles ) == 1 : return inputFiles [ 0 ] else : return None