mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add __all__ for modules beginning with 'c' and 'd' (#7303)
This commit is contained in:
@@ -4,6 +4,9 @@ from time import struct_time
|
||||
from typing import ClassVar, NamedTuple, NoReturn, SupportsAbs, TypeVar, overload
|
||||
from typing_extensions import Literal, final
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo", "MINYEAR", "MAXYEAR")
|
||||
|
||||
_D = TypeVar("_D", bound=date)
|
||||
|
||||
MINYEAR: Literal[1]
|
||||
|
||||
Reference in New Issue
Block a user