mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Fix 2.7 signature of fnmatch.translate().
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import Iterable, Pattern
|
||||
from typing import Iterable
|
||||
|
||||
def fnmatch(filename: str, pattern: str) -> bool: ...
|
||||
def fnmatchcase(filename: str, pattern: str) -> bool: ...
|
||||
def filter(names: Iterable[str], pattern: str) -> Iterable[str]: ...
|
||||
def translate(pattern: str) -> Pattern[str]: ...
|
||||
def translate(pattern: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user