Lines Matching refs:object_hook
37 PyObject *object_hook; member
47 {"object_hook", T_OBJECT, offsetof(PyScannerObject, object_hook), READONLY, "object_hook"},
860 Py_VISIT(s->object_hook); in scanner_traverse()
876 Py_CLEAR(s->object_hook); in scanner_clear()
994 if (s->object_hook != Py_None) { in _parse_object_str()
995 val = PyObject_CallFunctionObjArgs(s->object_hook, rval, NULL); in _parse_object_str()
1121 if (s->object_hook != Py_None) { in _parse_object_unicode()
1122 val = PyObject_CallFunctionObjArgs(s->object_hook, rval, NULL); in _parse_object_unicode()
1714 s->object_hook = NULL; in scanner_new()
1763 s->object_hook = PyObject_GetAttrString(ctx, "object_hook"); in scanner_init()
1764 if (s->object_hook == NULL) in scanner_init()
1784 Py_CLEAR(s->object_hook); in scanner_init()