Home
last modified time | relevance | path

Searched refs:only_keys (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/zoneinfo/
D_zoneinfo.py91 def clear_cache(cls, *, only_keys=None): argument
92 if only_keys is not None:
93 for key in only_keys:
/external/python/cpython3/Modules/
D_zoneinfo.c397 PyObject *only_keys = NULL; in zoneinfo_clear_cache() local
401 &only_keys))) { in zoneinfo_clear_cache()
408 if (only_keys == NULL || only_keys == Py_None) { in zoneinfo_clear_cache()
423 PyObject *iter = PyObject_GetIter(only_keys); in zoneinfo_clear_cache()
/external/python/cpython3/Doc/library/
Dzoneinfo.rst225 .. classmethod:: ZoneInfo.clear_cache(*, only_keys=None)
231 If an iterable of key names is passed to the ``only_keys`` parameter, only
233 ``only_keys`` but not found in the cache are ignored.
/external/python/cpython3/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py1345 self.klass.clear_cache(only_keys=None)
1355 self.klass.clear_cache(only_keys=["America/Los_Angeles"])
1369 only_keys=["America/Los_Angeles", "Europe/Dublin"]