mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Use TypeAlias for type aliases where possible, part II (#7667)
This commit is contained in:
@@ -514,7 +514,7 @@ def getcoroutinelocals(coroutine: Coroutine[Any, Any, Any]) -> dict[str, Any]: .
|
||||
|
||||
# Create private type alias to avoid conflict with symbol of same
|
||||
# name created in Attribute class.
|
||||
_Object = object
|
||||
_Object: TypeAlias = object
|
||||
|
||||
class Attribute(NamedTuple):
|
||||
name: str
|
||||
|
||||
Reference in New Issue
Block a user