mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-12 16:10:12 +08:00
Use TypeAlias for type aliases where possible, part II (#7667)
This commit is contained in:
1 parent
c653be73b8
commit
b093c90a94
41 files changed
+91
-90
No files matched your search
@@ -1,6 +1,7 @@
|
||||
from _typeshed import Self
|
||||
from collections.abc import Mapping
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from .retry import Retry
|
||||
|
||||
@@ -12,7 +13,7 @@ SYM_EMPTY: Any
|
||||
SERVER_CLOSED_CONNECTION_ERROR: Any
|
||||
|
||||
# Options as passed to Pool.get_connection().
|
||||
_ConnectionPoolOptions = Any
|
||||
_ConnectionPoolOptions: TypeAlias = Any
|
||||
|
||||
class BaseParser:
|
||||
EXCEPTION_CLASSES: Any
|
||||
|
||||
Reference in new issue
Block a user