mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-14 18:58:24 +08:00
Add __all__ to most modules beginning with 'q', 'r' and 's' (#7364)
This commit is contained in:
@@ -5,6 +5,11 @@ from typing import Any, Generic, TypeVar
|
||||
if sys.version_info >= (3, 9):
|
||||
from types import GenericAlias
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
__all__ = ["Empty", "Full", "Queue", "PriorityQueue", "LifoQueue", "SimpleQueue"]
|
||||
else:
|
||||
__all__ = ["Empty", "Full", "Queue", "PriorityQueue", "LifoQueue"]
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
class Empty(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user