Files
typeshed/stdlib/2/glob.pyi
amstree 66765c1fdb add glob1 glob0 to glob (#1368)
* add glob1 glob0 to glob

* add glob1 glob0 to python 3 stub

* fix types to take str and unicode

* Update glob.pyi
2017-06-02 11:22:07 -07:00

9 lines
315 B
Python

from typing import List, Iterator, Union
_string = Union[str, unicode]
def glob(pathname: _string) -> List[_string]: ...
def iglob(pathname: _string) -> Iterator[_string]: ...
def glob1(dirname: _string, pattern: _string) -> List[_string]: ...
def glob0(dirname: _string, basename: _string) -> List[_string]: ...