Mercurial > p > roundup > code
comparison roundup/cgi/TAL/HTMLParser.py @ 5388:d26921b851c3
Python 3 preparation: make relative imports explicit.
Tool-generated patch.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Tue, 24 Jul 2018 22:22:08 +0000 |
| parents | 12fe83f90f0d |
| children | 936275dfe1fa |
comparison
equal
deleted
inserted
replaced
| 5387:f7432fc3db4d | 5388:d26921b851c3 |
|---|---|
| 6 # character data -- the normal case), RCDATA (replaceable character | 6 # character data -- the normal case), RCDATA (replaceable character |
| 7 # data -- only char and entity references and end tags are special) | 7 # data -- only char and entity references and end tags are special) |
| 8 # and CDATA (character data -- only end tags are special). | 8 # and CDATA (character data -- only end tags are special). |
| 9 | 9 |
| 10 | 10 |
| 11 import markupbase | 11 from . import markupbase |
| 12 import re | 12 import re |
| 13 | 13 |
| 14 # Regular expressions used for parsing | 14 # Regular expressions used for parsing |
| 15 | 15 |
| 16 interesting_normal = re.compile('[&<]') | 16 interesting_normal = re.compile('[&<]') |
