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.
ZoneInfo.clear_cache
Optional
1 parent 5d45e3b commit 1459adcCopy full SHA for 1459adc
stdlib/zoneinfo/__init__.pyi
@@ -18,7 +18,7 @@ class ZoneInfo(tzinfo):
18
@classmethod
19
def from_file(cls: type[Self], __fobj: _IOBytes, key: str | None = ...) -> Self: ...
20
21
- def clear_cache(cls, *, only_keys: Iterable[str] = ...) -> None: ...
+ def clear_cache(cls, *, only_keys: Iterable[str] | None = ...) -> None: ...
22
23
# Note: Both here and in clear_cache, the types allow the use of `str` where
24
# a sequence of strings is required. This should be remedied if a solution
0 commit comments