Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(260218)

Delta Between Two Patch Sets: Python/Python-ast.c

Issue 11682: PEP 380 reference implementation for 3.3
Left Patch Set: Created 7 years, 7 months ago
Right Patch Set: Created 7 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 /* File automatically generated by Parser/asdl_c.py. */ 1 /* File automatically generated by Parser/asdl_c.py. */
2 2
3 #include "Python.h" 3 #include "Python.h"
4 #include "Python-ast.h" 4 #include "Python-ast.h"
5 5
6 static PyTypeObject AST_type; 6 static PyTypeObject AST_type;
7 static PyTypeObject *mod_type; 7 static PyTypeObject *mod_type;
8 static PyObject* ast2obj_mod(void*); 8 static PyObject* ast2obj_mod(void*);
9 static PyTypeObject *Module_type; 9 static PyTypeObject *Module_type;
10 _Py_IDENTIFIER(body); 10 _Py_IDENTIFIER(body);
(...skipping 7073 matching lines...) Expand 10 before | Expand all | Expand 10 after
7084 return res; 7084 return res;
7085 } 7085 }
7086 7086
7087 int PyAST_Check(PyObject* obj) 7087 int PyAST_Check(PyObject* obj)
7088 { 7088 {
7089 init_types(); 7089 init_types();
7090 return PyObject_IsInstance(obj, (PyObject*)&AST_type); 7090 return PyObject_IsInstance(obj, (PyObject*)&AST_type);
7091 } 7091 }
7092 7092
7093 7093
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+