diff options
author | Fred Drake <fdrake@acm.org> | 2001-03-16 20:04:57 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-03-16 20:04:57 (GMT) |
commit | 669573726bb31d8862e98b3843549e5fe0b54d37 (patch) | |
tree | 5969d357eebd6a8f790fb13d54a86d8e9a0a9f0a /Lib/dircache.py | |
parent | 83e01bf6c84719f8977d1ffd721d75d8eda2ddf8 (diff) | |
download | cpython-669573726bb31d8862e98b3843549e5fe0b54d37.zip cpython-669573726bb31d8862e98b3843549e5fe0b54d37.tar.gz cpython-669573726bb31d8862e98b3843549e5fe0b54d37.tar.bz2 |
Change RuntimeError to SGMLParseError, which subclasses RuntimeError
for backward compatibility.
Add support for SGML declaration syntax (<!....>) to some reasonable
degree. This does not support everything allowed in SGML, but should
work with "real" HTML (internal subset in a DOCTYPE is not handled).
The content of the declaration is passed to the .handle_decl() method,
which can be overridden by subclasses.
Diffstat (limited to 'Lib/dircache.py')
0 files changed, 0 insertions, 0 deletions