Home | History | Annotate | Download | only in python2.7

Lines Matching refs:pathname

18 def glob(pathname):
19 """Return a list of paths matching a pathname pattern.
27 return list(iglob(pathname))
29 def iglob(pathname):
30 """Return an iterator which yields the paths matching a pathname pattern.
38 if not has_magic(pathname):
39 if os.path.lexists(pathname):
40 yield pathname
42 dirname, basename = os.path.split(pathname)
50 if dirname != pathname and has_magic(dirname):