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/Python.asdl | |
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/Python.asdl')
-rw-r--r-- | Parser/Python.asdl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl index dc322dc..6955199 100644 --- a/Parser/Python.asdl +++ b/Parser/Python.asdl @@ -1,4 +1,4 @@ --- ASDL's four builtin types are identifier, int, string, object +-- ASDL's five builtin types are identifier, int, string, bytes, object module Python { @@ -67,7 +67,7 @@ module Python expr? starargs, expr? kwargs) | Num(object n) -- a number as a PyObject. | Str(string s) -- need to specify raw, unicode, etc? - | Bytes(string s) + | Bytes(bytes s) | Ellipsis -- other literals? bools? |