Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dnamespaceobject.c9 PyObject *ns_dict; member
14 {"__dict__", T_OBJECT, offsetof(_PyNamespaceObject, ns_dict), READONLY},
30 ns->ns_dict = PyDict_New(); in namespace_new()
31 if (ns->ns_dict == NULL) { in namespace_new()
53 return PyDict_Update(ns->ns_dict, kwds); in namespace_init()
61 Py_CLEAR(ns->ns_dict); in namespace_dealloc()
87 d = ((_PyNamespaceObject *)ns)->ns_dict; in namespace_repr()
150 Py_VISIT(ns->ns_dict); in namespace_traverse()
158 Py_CLEAR(ns->ns_dict); in namespace_clear()
168 return PyObject_RichCompare(((_PyNamespaceObject *)self)->ns_dict, in namespace_richcompare()
[all …]
/third_party/python/Lib/test/libregrtest/
Druntest_mp.py50 ns_dict, test_name = json.loads(worker_args)
51 ns = Namespace(**ns_dict)
56 ns_dict = vars(ns)
57 worker_args = (ns_dict, testname)