brandizzi icon

Creating a xml.dom.minidom.Document object in doctest

brandizzi | PRO | 02/26/18 09:05:00 AM UTC | 0 ⭐ | 1221 👁️ | Never ⏰ | []
Python |

230 B

|

None

|

0 👍

/

0 👎

    >>> doc = xml.dom.minidom.parseString(
    ...     '''
    ...     <html>
    ...         <body>
    ...             <div class="a b"><span class="a"></span></div>
    ...         </body>
    ...     </html>
    ...     ''')

Comments