| 497 | eq(s.safe_substitute(), 'this &gift is for &{who} &') |
| 498 | |
| 499 | class PieDelims(Template): |
| 500 | delimiter = '@' |
| 501 | s = PieDelims('@who likes to eat a bag of @{what} worth $100') |
| 502 | self.assertEqual(s.substitute(dict(who='tim', what='ham')), |
| 503 | 'tim likes to eat a bag of ham worth $100') |
no outgoing calls
searching dependent graphs…