parameters: (dirs)
docstring: Removes all unwanted directories from |dirs|, in place.
docstring_summary: Removes all unwanted directories from |dirs|, in place.
docstring_tokens: Removes all unwanted directories from |dirs| in place .
function: def _PruneDirs(dirs):
    """Removes all unwanted directories from |dirs|, in place."""
    for unwanted in (d for d in dirs if d.lower() not in _EXPECTED_DIRS):
      dirs.remove(unwanted)
function_tokens: def _PruneDirs ( dirs ) : for unwanted in ( d for d in dirs if d . lower ( ) not in _EXPECTED_DIRS ) : dirs . remove ( unwanted )