Changes between and of Version 2Version 3Ticket #6275


Ignore:
Timestamp:
01/22/13 22:50:17 (9 years ago)
Author:
Jean-Paul Calderone
Comment:

This is a bit easier to read.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6275 – Description

    v2 v3  
    11{{{
    22#!python
     3>>> s = ("""
     4... <a xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1">
     5... <t:attr name="href">" class="foobar</t:attr>
     6... </a>
     7... """)
    38>>> class ExampleElement(template.Element):
    4 ...     loader = template.XMLString('<a xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1"><t:attr name="href">" class="foobar</t:attr></a>')
     9...     loader = template.XMLString(s)
    510...
    611>>> def renderDone(output):