Lines Matching defs:module
229 Py_CLEAR(state->module);
329 if ((state->module = PyUnicode_InternFromString("module")) == NULL) return 0;
505 "module",
1153 " | ImportFrom(identifier? module, alias* names, int? level)\n"
1282 "ImportFrom(identifier? module, alias* names, int? level)");
1284 if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1)
2457 _PyAST_ImportFrom(identifier module, asdl_alias_seq * names, int level, int
2466 p->v.ImportFrom.module = module;
4155 value = ast2obj_identifier(state, o->v.ImportFrom.module);
4157 if (PyObject_SetAttr(result, state->module, value) == -1)
7888 identifier module;
7892 if (_PyObject_LookupAttr(obj, state->module, &tmp) < 0) {
7897 module = NULL;
7904 res = obj2ast_identifier(state, tmp, &module, arena);
7963 *out = _PyAST_ImportFrom(module, names, level, lineno, col_offset,
12299 // The _ast module uses a per-interpreter state (PyInterpreterState.ast)