Home
last modified time | relevance | path

Searched refs:import_from (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api.py148 import_from = self._output_package
150 import_from += '.' + '.'.join(module_split[:submodule_index])
152 -1, parent_module, import_from,
/external/python/cpython3/Include/
Dgraminit.h33 #define import_from 286 macro
/external/python/cpython2/Include/
Dgraminit.h30 #define import_from 283 macro
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py127 imp = Node(syms.import_from, children)
313 return node.type in (syms.import_name, syms.import_from)
434 elif node.type == syms.import_from:
DGrammar.txt55 import_stmt: import_name | import_from
57 import_from: ('from' ('.'* dotted_name | '.'+)
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py129 imp = Node(syms.import_from, children)
292 return node.type in (syms.import_name, syms.import_from)
413 elif node.type == syms.import_from:
DGrammar.txt72 import_stmt: import_name | import_from
74 import_from: ('from' ('.'* dotted_name | '.'+)
/external/python/cpython2/Lib/
Dsymbol.py40 import_from = 283 variable
/external/python/cpython3/Lib/
Dsymbol.py43 import_from = 286 variable
/external/python/cpython2/Grammar/
DGrammar52 import_stmt: import_name | import_from
54 import_from: ('from' ('.'* dotted_name | '.'+)
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_import.py56 if node.type == syms.import_from:
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_import.py56 if node.type == syms.import_from:
/external/python/cpython3/Grammar/
DGrammar56 import_stmt: import_name | import_from
59 import_from: ('from' (('.' | '...')* dotted_name | ('.' | '...')+)
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dimport_statement.py226 if children[0].type != symbol.import_from:
/external/python/cpython2/Modules/
Dparsermodule.c994 VALIDATER(import_name); VALIDATER(import_from);
1970 int res = validate_ntype(tree, import_from) in validate_import_from()
1998 if (ntype == import_name || ntype == import_from) in validate_import_stmt()
3242 case import_from: in validate_node()
/external/python/cpython3/Python/
Dceval.c63 static PyObject * import_from(PyObject *, PyObject *);
2636 res = import_from(from, name); in _PyEval_EvalFrameDefault()
4792 import_from(PyObject *v, PyObject *name) in import_from() function
Dast.c3305 else if (TYPE(n) == import_from) { in ast_for_import_stmt()
/external/python/cpython2/Python/
Dceval.c141 static PyObject * import_from(PyObject *, PyObject *);
2676 x = import_from(v, w); in PyEval_EvalFrameEx()
4905 import_from(PyObject *v, PyObject *name) in import_from() function
Dast.c2569 else if (TYPE(n) == import_from) { in ast_for_import_stmt()
/external/python/cpython2/Lib/compiler/
Dtransformer.py454 def import_from(self, nodelist): member in Transformer