Revision 3802
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/xml_func.py | ||
---|---|---|
176 | 176 |
funcs['_eq'] = _eq |
177 | 177 |
|
178 | 178 |
def _if(items, node): |
179 |
'''Can add `name` param to distinguish separate _if statements''' |
|
179 | 180 |
items = dict(items) |
180 | 181 |
try: then = items['then'] |
181 | 182 |
except KeyError, e: raise SyntaxError(e) |
Also available in: Unified diff
xml_func.py: _if(): Documented that can add `name` param to distinguish separate _if statements