Skip to content

Commit e2cf7c1

Browse files
CraftSpiderJelleZijlstra
authored andcommitted
Add mailcap module (#3482)
1 parent 5668824 commit e2cf7c1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stdlib/2and3/mailcap.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
from typing import Sequence, Dict, List, Union, Tuple, Optional, Mapping
3+
4+
_Cap = Dict[str, Union[str, int]]
5+
6+
def findmatch(caps: Mapping[str, List[_Cap]], MIMEtype: str, key: str = ..., filename: str = ..., plist: Sequence[str] = ...) -> Tuple[Optional[str], Optional[_Cap]]: ...
7+
def getcaps() -> Dict[str, List[_Cap]]: ...

0 commit comments

Comments
 (0)