Home
last modified time | relevance | path

Searched refs:get_warnings_attr (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Python/
D_warnings.c54 get_warnings_attr(_Py_Identifier *attr_id, int try_import) in get_warnings_attr() function
102 registry = get_warnings_attr(&PyId_onceregistry, 0); in get_once_registry()
128 default_action = get_warnings_attr(&PyId_defaultaction, 0); in get_default_action()
159 warnings_filters = get_warnings_attr(&PyId_filters, 0); in get_filter()
425 show_fn = get_warnings_attr(&PyId__showwarnmsg, source != NULL); in call_show_warning()
439 warnmsg_cls = get_warnings_attr(&PyId_WarningMessage, 0); in call_show_warning()
1192 PyObject *fn = get_warnings_attr(&PyId__warn_unawaited_coroutine, 1); in _PyErr_WarnUnawaitedCoroutine()
/external/python/cpython2/Python/
D_warnings.c39 get_warnings_attr(const char *attr) in get_warnings_attr() function
69 registry = get_warnings_attr("onceregistry"); in get_once_registry()
92 default_action = get_warnings_attr("defaultaction"); in get_default_action()
115 warnings_filters = get_warnings_attr("filters"); in get_filter()
404 PyObject *show_fxn = get_warnings_attr("showwarning"); in warn_explicit()