commit | 442f20996dcd994d1024e5cad7f66a4595352eb2 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Dec 06 17:41:04 2012 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Dec 06 17:41:04 2012 -0500 |
tree | 641746efd4247acd2b5e13f5de7f65c026242a05 | |
parent | 4b237e3b1112304f834ac78fe05abdecbf3d87b4 [diff] [blame] |
create NameConstant AST class for None, True, and False literals (closes #16619)
diff --git a/Include/asdl.h b/Include/asdl.h index 6bf618f..0789ad8 100644 --- a/Include/asdl.h +++ b/Include/asdl.h
@@ -5,6 +5,7 @@ typedef PyObject * string; typedef PyObject * bytes; typedef PyObject * object; +typedef PyObject * singleton; /* It would be nice if the code generated by asdl_c.py was completely independent of Python, but it is a goal the requires too much work