Searched defs:object_pairs_hook (Results 1 - 3 of 3) sorted by relevance

/external/python/cpython2/Lib/test/crashers/
H A Ddecref_before_assignment.py23 object_pairs_hook = None variable in class:Ctx1
/external/python/cpython2/Lib/json/
H A D__init__.py255 object_pairs_hook=None) variable
259 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw):
275 ``object_pairs_hook`` is an optional function that will be called with the
277 return value of ``object_pairs_hook`` will be used instead of the ``dict``.
281 ``object_hook`` is also defined, the ``object_pairs_hook`` takes priority.
290 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook,
295 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw):
309 ``object_pairs_hook`` is an optional function that will be called with the
311 return value of ``object_pairs_hook`` wil
[all...]
/external/python/cpython3/Modules/
H A D_json.c23 PyObject *object_pairs_hook; member in struct:_PyScannerObject
33 {"object_pairs_hook", T_OBJECT, offsetof(PyScannerObject, object_pairs_hook), READONLY},
675 Py_VISIT(s->object_pairs_hook);
690 Py_CLEAR(s->object_pairs_hook);
714 int has_pairs_hook = (s->object_pairs_hook != Py_None);
816 val = PyObject_CallFunctionObjArgs(s->object_pairs_hook, rval, NULL);
1210 s->object_pairs_hook = NULL;
1245 s->object_pairs_hook = PyObject_GetAttrString(ctx, "object_pairs_hook");
[all...]

Completed in 155 milliseconds