mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Re-organize directory structure (#4971)
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
8
stdlib/@python2/fnmatch.pyi
Normal file
8
stdlib/@python2/fnmatch.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from typing import AnyStr, Iterable, List, Union
|
||||
|
||||
_EitherStr = Union[str, unicode]
|
||||
|
||||
def fnmatch(filename: _EitherStr, pattern: _EitherStr) -> bool: ...
|
||||
def fnmatchcase(filename: _EitherStr, pattern: _EitherStr) -> bool: ...
|
||||
def filter(names: Iterable[AnyStr], pattern: _EitherStr) -> List[AnyStr]: ...
|
||||
def translate(pattern: AnyStr) -> AnyStr: ...
|
||||
Reference in New Issue
Block a user