13.6.2.9 Comment Objects

Python PEP

13.6.2.9 Comment Objects

Comment represents a comment in the XML document. It is a subclass of Node, but cannot have child nodes.

The content of the comment as a string. The attribute contains all characters between the leading <!-- and trailing -->, but does not include them.

See About this document... for information on suggesting changes.