mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -4,7 +4,7 @@ from typing import Callable, List, Sequence, TypeVar
|
||||
_T = TypeVar('_T')
|
||||
|
||||
class Error(Exception):
|
||||
msg = ... # type: str
|
||||
msg: str
|
||||
def __init__(self, msg: str) -> None: ...
|
||||
|
||||
class ConversionError(Error): ...
|
||||
|
||||
Reference in New Issue
Block a user