mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 14:46:55 +08:00
Added stdlib/2.7/getopt.pyi, updated 3/getopt.pyi (#221)
* Added stdlib/2.7/getopt.pyi * Small fixes to stdlib/3/getopt.pyi
This commit is contained in:
committed by
Guido van Rossum
parent
b98580d299
commit
f32e26ebc2
@@ -5,12 +5,12 @@
|
||||
from typing import List, Tuple
|
||||
|
||||
def getopt(args: List[str], shortopts: str,
|
||||
longopts: List[str]) -> Tuple[List[Tuple[str, str]],
|
||||
List[str]]: ...
|
||||
longopts: List[str]=...) -> Tuple[List[Tuple[str, str]],
|
||||
List[str]]: ...
|
||||
|
||||
def gnu_getopt(args: List[str], shortopts: str,
|
||||
longopts: List[str]) -> Tuple[List[Tuple[str, str]],
|
||||
List[str]]: ...
|
||||
longopts: List[str]=...) -> Tuple[List[Tuple[str, str]],
|
||||
List[str]]: ...
|
||||
|
||||
class GetoptError(Exception):
|
||||
msg = ... # type: str
|
||||
|
||||
Reference in New Issue
Block a user