original_docstring: 
      Convert a library to a library flag
      
docstring: Convert a library to a library flag
docstring_tokens: Convert a library to a library flag
code: def change_to_lib_flag(lib):
      """
      Convert a library to a library flag
      """
      if lib.startswith('lib'):
          end = len(lib)
          if lib.endswith('.a'):
              end = end-2
          if lib.endswith('.so'):
              end = end-3
          return '-l{}'.format(lib[3:end])
      else:
          return lib
code_tokens: def change_to_lib_flag ( lib ) : if lib . startswith ( 'lib' ) : end = len ( lib ) if lib . endswith ( '.a' ) : end = end - 2 if lib . endswith ( '.so' ) : end = end - 3 return '-l{}' . format ( lib [ 3 : end ] ) else : return lib
short_docstring: Convert a library to a library flag
short_docstring_tokens: Convert a library to a library flag
comment: """
      Convert a library to a library flag
      """