mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +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
@@ -3,8 +3,9 @@ from _typeshed import FileDescriptor, FileDescriptorLike, Self
|
||||
from abc import ABCMeta, abstractmethod
|
||||
from collections.abc import Mapping
|
||||
from typing import Any, NamedTuple
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_EventMask = int
|
||||
_EventMask: TypeAlias = int
|
||||
|
||||
EVENT_READ: _EventMask
|
||||
EVENT_WRITE: _EventMask
|
||||
|
||||
Reference in new issue
Block a user