parameters: (filename)
return_statement: return [line for line in lineiter if line and not line.startswith("#")]
docstring: load requirements from a pip requirements file
docstring_summary: load requirements from a pip requirements file
docstring_tokens: load requirements from a pip requirements file
function: def parse_requirements(filename):
      """ load requirements from a pip requirements file """
      lineiter = (line.strip() for line in open(filename))
      return [line for line in lineiter if line and not line.startswith("#")]
function_tokens: def parse_requirements ( filename ) : lineiter = ( line . strip ( ) for line in open ( filename ) ) return [ line for line in lineiter if line and not line . startswith ( "#" ) ]