Lines Matching refs:instance
272 PyObject *instance = zone_from_strong_cache(type, key);
273 if (instance != NULL || PyErr_Occurred()) {
274 return instance;
278 instance = PyObject_CallMethod(weak_cache, "get", "O", key, Py_None);
279 if (instance == NULL) {
283 if (instance == Py_None) {
284 Py_DECREF(instance);
290 instance =
293 if (instance == NULL) {
296 ((PyZoneInfo_ZoneInfo *)instance)->source = SOURCE_CACHE;
299 update_strong_cache(type, key, instance);
300 return instance;
2560 PyDoc_STR("Get a new instance of ZoneInfo, bypassing the cache.")},