Searched refs:_ast (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_compile.py | 4 import _ast 542 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 543 self.assertTrue(type(ast) == _ast.Module) 550 co1 = compile('print 1', '<string>', 'exec', _ast.PyCF_ONLY_AST) 554 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 557 ast = _ast.Module() 558 ast.body = [_ast.BoolOp()]
|
D | test_sys.py | 818 import _ast 819 check(_ast.AST(), size(''))
|
/external/python/cpython3/Lib/test/ |
D | test_compile.py | 6 import _ast 440 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 441 self.assertTrue(type(ast) == _ast.Module) 448 co1 = compile('print(1)', '<string>', 'exec', _ast.PyCF_ONLY_AST) 452 self.assertRaises(TypeError, compile, _ast.If(), '<ast>', 'exec') 455 ast = _ast.Module() 456 ast.body = [_ast.BoolOp()]
|
D | test_sys.py | 1223 import _ast 1224 check(_ast.AST(), size('P'))
|
/external/python/cpython2/Lib/ |
D | dumbdbm.py | 24 import ast as _ast namespace 91 key, pos_and_siz_pair = _ast.literal_eval(line)
|
D | ast.py | 28 from _ast import * 29 from _ast import __version__
|
/external/python/cpython3/Lib/dbm/ |
D | dumb.py | 24 import ast as _ast namespace 111 key, pos_and_siz_pair = _ast.literal_eval(line)
|
/external/python/cpython3/Modules/ |
D | config.c.in | 45 {"_ast", PyInit__ast},
|
/external/python/cpython2/Modules/ |
D | config.c.in | 44 {"_ast", init_ast},
|
/external/python/cpython3/Lib/ |
D | ast.py | 27 from _ast import *
|
/external/python/cpython2/Doc/library/ |
D | ast.rst | 11 The low-level ``_ast`` module containing only the node classes. 39 :ref:`below <abstract-grammar>`. They are defined in the :mod:`_ast` C
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a2.rst | 36 compile() can now compile _ast trees as returned by ``compile(...,
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 33 :ref:`below <abstract-grammar>`. They are defined in the :mod:`_ast` C
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.5.rst | 2104 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of 2107 from _ast import PyCF_ONLY_AST
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.5.rst | 2105 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of 2108 from _ast import PyCF_ONLY_AST
|
D | 3.2.rst | 1508 ValueError: malformed node or string: <_ast.Call object at 0x101739a10>
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 658 _Py_IDENTIFIER(_ast); in make_type()
|
/external/python/cpython3/Misc/ |
D | HISTORY | 17327 - Removed the compiler package. Use of the _ast module and (an 18585 to Python code; an _ast module was added.
|
/external/python/cpython2/Misc/ |
D | HISTORY | 1201 to Python code; an _ast module was added.
|