parameters: (env, dir=None, target=None, source=None, argument=None)
return_statement: return tuple(paths)
docstring: Retrieves a tuple with all search paths.
docstring_summary: Retrieves a tuple with all search paths.
docstring_tokens: Retrieves a tuple with all search paths .
function: def path_function(env, dir=None, target=None, source=None, argument=None):
      """Retrieves a tuple with all search paths."""
      paths = env['ENV'].get('PYTHONPATH', '').split(os.pathsep)
      if source:
          paths.append(source[0].dir.abspath)
      return tuple(paths)
function_tokens: def path_function ( env , dir = None , target = None , source = None , argument = None ) : paths = env [ 'ENV' ] . get ( 'PYTHONPATH' , '' ) . split ( os . pathsep ) if source : paths . append ( source [ 0 ] . dir . abspath ) return tuple ( paths )