parameters: (dir=os.curdir)
return_statement: return list(files)
docstring: Find all files under 'dir' and return the list of full filenames.
      Unless dir is '.', return full filenames with dir prepended.
docstring_summary: Find all files under 'dir' and return the list of full filenames.
      Unless dir is '.', return full filenames with dir prepended.
docstring_tokens: Find all files under dir and return the list of full filenames . Unless dir is . return full filenames with dir prepended .
function: def findall(dir=os.curdir):
      """
      Find all files under 'dir' and return the list of full filenames.
      Unless dir is '.', return full filenames with dir prepended.
      """
      files = _find_all_simple(dir)
      if dir == os.curdir:
          make_rel = functools.partial(os.path.relpath, start=dir)
          files = map(make_rel, files)
      return list(files)
function_tokens: def findall ( dir = os . curdir ) : files = _find_all_simple ( dir ) if dir == os . curdir : make_rel = functools . partial ( os . path . relpath , start = dir ) files = map ( make_rel , files ) return list ( files )