summaryrefslogtreecommitdiff
path: root/sphinx/pycode/pgen2/literals.py
Commit message (Collapse)AuthorAgeFilesLines
* pycode: Replace pgen2 by own parserTakeshi KOMIYA2017-07-261-100/+0
|
* use six privided text_type() to replace with unicode() to support py2/py3 in ↵Takayuki Shimizukawa2014-04-291-1/+4
| | | | one source. refs #1350.
* Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-191-1/+2
| | | | | | | | | | | - 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.
* don't assume strings to be byte stringsDaniel Neuhäuser2010-05-241-1/+1
|
* Add support for decoding strings and comments to the analyzer.Georg Brandl2009-01-041-1/+3
|
* Support all types of string literals in literals.py.Georg Brandl2009-01-041-10/+44
|
* Add pgen2 and custom utilities.Georg Brandl2008-12-291-0/+60