mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -1,8 +1,8 @@
|
||||
from typing import List, Tuple
|
||||
|
||||
class GetoptError(Exception):
|
||||
opt = ... # type: str
|
||||
msg = ... # type: str
|
||||
opt: str
|
||||
msg: str
|
||||
def __init__(self, msg: str, opt: str = ...) -> None: ...
|
||||
def __str__(self) -> str: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user