summaryrefslogtreecommitdiff
path: root/Parser/asdl.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-09 16:08:39 -0500
committerBenjamin Peterson <benjamin@python.org>2011-08-09 16:08:39 -0500
commite2498419034eade424fa744e1505980e64ba759b (patch)
tree22fe40b438aebff64ba9ab784a79cebce252cd23 /Parser/asdl.py
parent18205baf251495b5a54b08c1f9b0e1763eb27aa1 (diff)
downloadcpython-git-e2498419034eade424fa744e1505980e64ba759b.tar.gz
add a asdl bytes type, so Bytes.s be properly typechecked
Diffstat (limited to 'Parser/asdl.py')
-rw-r--r--Parser/asdl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl.py b/Parser/asdl.py
index c63dfa7fb6..c90d2e26c3 100644
--- a/Parser/asdl.py
+++ b/Parser/asdl.py
@@ -228,7 +228,7 @@ class ASDLParser(spark.GenericParser, object):
" field ::= Id ? "
return Field(type[0], opt=True)
-builtin_types = ("identifier", "string", "int", "bool", "object")
+builtin_types = ("identifier", "string", "bytes", "int", "bool", "object")
# below is a collection of classes to capture the AST of an AST :-)
# not sure if any of the methods are useful yet, but I'm adding them