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:
12
stdlib/@python2/getopt.pyi
Normal file
12
stdlib/@python2/getopt.pyi
Normal file
@@ -0,0 +1,12 @@
|
||||
from typing import List, Tuple
|
||||
|
||||
class GetoptError(Exception):
|
||||
opt: str
|
||||
msg: str
|
||||
def __init__(self, msg: str, opt: str = ...) -> None: ...
|
||||
def __str__(self) -> str: ...
|
||||
|
||||
error = GetoptError
|
||||
|
||||
def getopt(args: List[str], shortopts: 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]]: ...
|
||||
Reference in New Issue
Block a user