mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +08:00
Use TypeAlias for type aliases where possible, part II (#7667)
This commit is contained in:
@@ -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