Home
last modified time | relevance | path

Searched refs:_ast (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_compile.py4 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()]
Dtest_sys.py818 import _ast
819 check(_ast.AST(), size(''))
/external/python/cpython3/Lib/test/
Dtest_compile.py6 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()]
Dtest_sys.py1223 import _ast
1224 check(_ast.AST(), size('P'))
/external/python/cpython2/Lib/
Ddumbdbm.py24 import ast as _ast namespace
91 key, pos_and_siz_pair = _ast.literal_eval(line)
Dast.py28 from _ast import *
29 from _ast import __version__
/external/python/cpython3/Lib/dbm/
Ddumb.py24 import ast as _ast namespace
111 key, pos_and_siz_pair = _ast.literal_eval(line)
/external/python/cpython3/Modules/
Dconfig.c.in45 {"_ast", PyInit__ast},
/external/python/cpython2/Modules/
Dconfig.c.in44 {"_ast", init_ast},
/external/python/cpython3/Lib/
Dast.py27 from _ast import *
/external/python/cpython2/Doc/library/
Dast.rst11 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/
D2.6a2.rst36 compile() can now compile _ast trees as returned by ``compile(...,
/external/python/cpython3/Doc/library/
Dast.rst33 :ref:`below <abstract-grammar>`. They are defined in the :mod:`_ast` C
/external/python/cpython2/Doc/whatsnew/
D2.5.rst2104 :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/
D2.5.rst2105 :func:`compile` built-in and specifying ``_ast.PyCF_ONLY_AST`` as the value of
2108 from _ast import PyCF_ONLY_AST
D3.2.rst1508 ValueError: malformed node or string: <_ast.Call object at 0x101739a10>
/external/python/cpython3/Python/
DPython-ast.c658 _Py_IDENTIFIER(_ast); in make_type()
/external/python/cpython3/Misc/
DHISTORY17327 - Removed the compiler package. Use of the _ast module and (an
18585 to Python code; an _ast module was added.
/external/python/cpython2/Misc/
DHISTORY1201 to Python code; an _ast module was added.