diff options
author | Fred Drake <fdrake@acm.org> | 1999-08-20 14:28:29 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-08-20 14:28:29 (GMT) |
commit | abf8a1daa8fde8030b6d5f5c5bad4aed94091525 (patch) | |
tree | 9cfc4ffc224c51fd16107f2233c836a6e2f34b75 /Modules | |
parent | f2e9e2978e8f628c83d774aa03ce715bd8f319b4 (diff) | |
download | cpython-abf8a1daa8fde8030b6d5f5c5bad4aed94091525.zip cpython-abf8a1daa8fde8030b6d5f5c5bad4aed94091525.tar.gz cpython-abf8a1daa8fde8030b6d5f5c5bad4aed94091525.tar.bz2 |
rewrite_descriptor(): Fix bug that dropped the first TEXT node from
<description> elements. Add another sanity
check to make sure a special case only becomes
involved for <opcodedesc> and <opcodedescni>
elements.
fixup_paras_helper(): Clean up control flow.
Everywhere that checks node.nodeType==ELEMENT and node.tagName now
just check node.nodeName (nodeName is guaranteed for all node types
and will be special values that don't conflict with GIs for
non-ELEMENT nodes). Simplifies a number of tests and improves
readability in a lot of places.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions