commit | fa2e4e9d046a9554bc201a0d5a1f7ef739c82bd3 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Mon Jun 28 21:14:17 2010 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Mon Jun 28 21:14:17 2010 +0000 |
tree | e71a0dea4f7c941eb1bdda4ccd4ca0fea4b8ad50 | |
parent | f5451e546a720392c1ceef9c33db336e6ebd2d7e [diff] |
Update Demo/parser/unparse.py to current Python 3.x syntax. Additions: - relative imports - keyword-only arguments - function annotations - class decorators - raise ... from ... - except ... as ... - nonlocal - bytes literals - set literals - set comprehensions - dict comprehensions Removals: - print statement. Some of this should be backported to 2.x.