Searched refs:weak_cache (Results 1 - 1 of 1) sorted by relevance
/third_party/python/Modules/ |
H A D | _zoneinfo.c | 277 PyObject *weak_cache = get_weak_cache(type); in zoneinfo_new() local 278 instance = PyObject_CallMethod(weak_cache, "get", "O", key, Py_None); in zoneinfo_new() 291 PyObject_CallMethod(weak_cache, "setdefault", "OO", key, tmp); in zoneinfo_new() 411 PyObject *weak_cache = get_weak_cache(type); in zoneinfo_clear_cache() local 414 PyObject *rv = PyObject_CallMethod(weak_cache, "clear", NULL); in zoneinfo_clear_cache() 442 PyObject *tmp = PyObject_CallMethodObjArgs(weak_cache, pop, item, in zoneinfo_clear_cache() 2500 PyObject *weak_cache = in new_weak_cache() local 2503 return weak_cache; in new_weak_cache() 2538 PyObject *weak_cache = new_weak_cache(); in zoneinfo_init_subclass() local 2539 if (weak_cache in zoneinfo_init_subclass() [all...] |
Completed in 4 milliseconds