We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gettz
1 parent 69d322e commit 81a6d24Copy full SHA for 81a6d24
stubs/python-dateutil/dateutil/tz/tz.pyi
@@ -131,7 +131,9 @@ def resolve_imaginary(dt: _DateTimeT) -> _DateTimeT: ...
131
# Singleton type defined locally in a function. Calls itself "GettzFunc".
132
@type_check_only
133
class _GetTZ:
134
- def __call__(self, name: str | None = ...) -> tzinfo | None: ...
+ def __call__(self, name: str | None = None) -> tzinfo | None: ...
135
+ def set_cache_size(self, size: int) -> None: ...
136
+ def cache_clear(self) -> None: ...
137
def nocache(self, name: str | None) -> tzinfo | None: ...
138
139
gettz: _GetTZ
0 commit comments