summaryrefslogtreecommitdiff
path: root/Include/asdl.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-12-06 17:41:04 -0500
committerBenjamin Peterson <benjamin@python.org>2012-12-06 17:41:04 -0500
commit442f20996dcd994d1024e5cad7f66a4595352eb2 (patch)
tree641746efd4247acd2b5e13f5de7f65c026242a05 /Include/asdl.h
parent4b237e3b1112304f834ac78fe05abdecbf3d87b4 (diff)
downloadcpython-git-442f20996dcd994d1024e5cad7f66a4595352eb2.tar.gz
create NameConstant AST class for None, True, and False literals (closes #16619)
Diffstat (limited to 'Include/asdl.h')
-rw-r--r--Include/asdl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/asdl.h b/Include/asdl.h
index 6bf618f3e9..0789ad870b 100644
--- a/Include/asdl.h
+++ b/Include/asdl.h
@@ -5,6 +5,7 @@ typedef PyObject * identifier;
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