Home
last modified time | relevance | path

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

/external/python/cpython3/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()
149 Py_VISIT(ns->ns_dict); in namespace_traverse()
157 Py_CLEAR(ns->ns_dict); in namespace_clear()
167 return PyObject_RichCompare(((_PyNamespaceObject *)self)->ns_dict, in namespace_richcompare()
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Druntest_mp.py36 ns_dict = vars(ns)
37 worker_args = (ns_dict, testname)
62 ns_dict, testname = json.loads(worker_args)
63 ns = types.SimpleNamespace(**ns_dict)
Dmain.py570 ns_dict, _ = json.loads(self.ns.worker_args)
571 TEMPDIR = ns_dict.get("tempdir") or TEMPDIR