mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import builtins
|
||||
from typing import Dict, NoReturn, Type
|
||||
from typing import NoReturn, Type
|
||||
|
||||
from .constants import ER as ER
|
||||
|
||||
@@ -15,6 +15,6 @@ class InternalError(DatabaseError): ...
|
||||
class ProgrammingError(DatabaseError): ...
|
||||
class NotSupportedError(DatabaseError): ...
|
||||
|
||||
error_map: Dict[int, Type[DatabaseError]]
|
||||
error_map: dict[int, Type[DatabaseError]]
|
||||
|
||||
def raise_mysql_exception(data) -> NoReturn: ...
|
||||
|
||||
Reference in New Issue
Block a user