mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
* add glob1 glob0 to glob * add glob1 glob0 to python 3 stub * fix types to take str and unicode * Update glob.pyi
9 lines
315 B
Python
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]: ...
|