Searched refs:PyFile_SetOpenCodeHook (Results 1 – 5 of 5) 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
16 PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData);
516 PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData) { in PyFile_SetOpenCodeHook() function
1079 result = PyFile_SetOpenCodeHook(_open_code_hook, &result); in test_open_code_hook()1085 result = PyFile_SetOpenCodeHook(_open_code_hook, &result); in test_open_code_hook()
188 :c:func:`PyFile_SetOpenCodeHook`. However, assuming that ``path`` is a