mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Remove tzlocal stubs (#11674)
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
# Implementation details
|
||||
tzlocal.unix
|
||||
tzlocal.win32
|
||||
|
||||
# Internal stuff:
|
||||
tzlocal.utils.log
|
||||
@@ -1,4 +0,0 @@
|
||||
version = "5.1"
|
||||
upstream_repository = "https://github.com/regebro/tzlocal"
|
||||
requires = ["types-pytz"]
|
||||
obsolete_since = "5.2" # Released on 2023-10-22
|
||||
@@ -1,8 +0,0 @@
|
||||
from pytz import BaseTzInfo
|
||||
from tzlocal.utils import assert_tz_offset
|
||||
|
||||
__all__ = ["get_localzone", "get_localzone_name", "reload_localzone", "assert_tz_offset"]
|
||||
|
||||
def reload_localzone() -> None: ...
|
||||
def get_localzone() -> BaseTzInfo: ...
|
||||
def get_localzone_name() -> str: ...
|
||||
@@ -1,4 +0,0 @@
|
||||
import datetime
|
||||
|
||||
def get_tz_offset(tz: datetime.tzinfo) -> int: ...
|
||||
def assert_tz_offset(tz: datetime.tzinfo, error: bool = True) -> None: ...
|
||||
@@ -1,4 +0,0 @@
|
||||
# Auto-generated for tzlocal.win32. But some libraries use it to get the mappings directly
|
||||
win_tz: dict[str, str]
|
||||
tz_names: dict[str, str]
|
||||
tz_win: dict[str, str]
|
||||
Reference in New Issue
Block a user