Searched refs:PyFile_SetOpenCodeHook (Results 1 – 7 of 7) sorted by relevance
63 .. c:function:: int PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction handler)80 :c:func:`PyFile_SetOpenCodeHook` will fail. On failure, the function returns85 .. audit-event:: setopencodehook "" c.PyFile_SetOpenCodeHook
17 PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData);
480 PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData) { in PyFile_SetOpenCodeHook() function
1167 result = PyFile_SetOpenCodeHook(_open_code_hook, &result); in test_open_code_hook()1173 result = PyFile_SetOpenCodeHook(_open_code_hook, &result); in test_open_code_hook()
190 :c:func:`PyFile_SetOpenCodeHook`. However, assuming that ``path`` is a
2942 +method would also call into the hook set by :func:`PyFile_SetOpenCodeHook`.
158 :func:`PyFile_SetOpenCodeHook`.