Commit Graph

4 Commits

Author SHA1 Message Date
Dmitry Shachnev
ce2185ce27 Modernize the code now that Python 2.5 is no longer supported
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.

This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Georg Brandl
e61a7b7fcf Remove XXXes from the pgen2 code. 2010-01-17 19:39:51 +01:00
Georg Brandl
98bcd2fab4 Make the _ gettext alias an explicit import instead of installing into builtins. 2010-01-17 19:33:23 +01:00
Georg Brandl
49c15e93a2 Add pgen2 and custom utilities. 2008-12-29 20:22:18 +01:00