mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Add asyncio.locks.__all__ (#7269)
This commit is contained in:
@@ -7,6 +7,11 @@ from typing_extensions import Literal
|
||||
from .events import AbstractEventLoop
|
||||
from .futures import Future
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
__all__ = ("Lock", "Event", "Condition", "Semaphore", "BoundedSemaphore")
|
||||
else:
|
||||
__all__ = ["Lock", "Event", "Condition", "Semaphore", "BoundedSemaphore"]
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
|
||||
Reference in New Issue
Block a user