diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-08-09 21:08:39 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-08-09 21:08:39 (GMT) |
commit | e2498419034eade424fa744e1505980e64ba759b (patch) | |
tree | 22fe40b438aebff64ba9ab784a79cebce252cd23 /Parser/asdl.py | |
parent | 18205baf251495b5a54b08c1f9b0e1763eb27aa1 (diff) | |
download | cpython-e2498419034eade424fa744e1505980e64ba759b.zip cpython-e2498419034eade424fa744e1505980e64ba759b.tar.gz cpython-e2498419034eade424fa744e1505980e64ba759b.tar.bz2 |
add a asdl bytes type, so Bytes.s be properly typechecked
Diffstat (limited to 'Parser/asdl.py')
-rw-r--r-- | Parser/asdl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl.py b/Parser/asdl.py index c63dfa7..c90d2e2 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 |