Searched refs:ImportFrom (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Python/ |
D | future.c | 22 names = s->v.ImportFrom.names; in future_check_features() 88 identifier modname = s->v.ImportFrom.module; in future_parse()
|
D | compile.c | 1960 int i, n = asdl_seq_LEN(s->v.ImportFrom.names); in compiler_from_import() 1975 if (s->v.ImportFrom.level == 0 && c->c_flags && in compiler_from_import() 1979 level = PyInt_FromLong(s->v.ImportFrom.level); in compiler_from_import() 1988 alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i); in compiler_from_import() 1993 if (s->lineno > c->c_future->ff_lineno && s->v.ImportFrom.module && in compiler_from_import() 1994 !strcmp(PyString_AS_STRING(s->v.ImportFrom.module), "__future__")) { in compiler_from_import() 2005 if (s->v.ImportFrom.module) { in compiler_from_import() 2006 ADDOP_NAME(c, IMPORT_NAME, s->v.ImportFrom.module, names); in compiler_from_import() 2012 alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i); in compiler_from_import()
|
D | Python-ast.c | 1368 ImportFrom(identifier module, asdl_seq * names, int level, int lineno, int in ImportFrom() function 1376 p->v.ImportFrom.module = module; in ImportFrom() 1377 p->v.ImportFrom.names = names; in ImportFrom() 1378 p->v.ImportFrom.level = level; in ImportFrom() 2482 value = ast2obj_identifier(o->v.ImportFrom.module); in ast2obj_stmt() 2487 value = ast2obj_list(o->v.ImportFrom.names, ast2obj_alias); in ast2obj_stmt() 2492 value = ast2obj_int(o->v.ImportFrom.level); in ast2obj_stmt() 4640 *out = ImportFrom(module, names, level, lineno, col_offset, in obj2ast_stmt()
|
D | symtable.c | 1118 VISIT_SEQ(st, alias, s->v.ImportFrom.names); in symtable_visit_stmt()
|
D | ast.c | 2635 return ImportFrom(modname, aliases, ndots, lineno, col_offset, in ast_for_import_stmt()
|
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/ |
D | __init__.py | 34 ImportFrom,
|
D | import_statement.py | 216 class ImportFrom(Import): class
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 37 | ImportFrom(identifier? module, alias* names, int? level)
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 166 } ImportFrom; member 432 #define ImportFrom(a0, a1, a2, a3, a4, a5) _Py_ImportFrom(a0, a1, a2, a3, a4, a5) macro
|
/external/python/cpython2/Lib/test/ |
D | test_ast.py | 236 self.assertIsInstance(mod.body[0], ast.ImportFrom)
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 703 "ImportFrom"
|
/external/python/cpython2/Misc/ |
D | NEWS | 3298 - Issue #14378: Fix compiling ast.ImportFrom nodes with a "__future__" string as 7431 ImportFrom AST node is now None instead of an empty string.
|