Mercurial > genshi > genshi-test
comparison markup/eval.py @ 98:bc73d3ab823f
Bugfix in `builder` module: attribute values need to be converted to strings when generating streams.
author | cmlenz |
---|---|
date | Fri, 21 Jul 2006 18:23:23 +0000 |
parents | 242610137d1f |
children | ef6794139671 |
comparison
equal
deleted
inserted
replaced
97:33fee66e0e8a | 98:bc73d3ab823f |
---|---|
197 | 197 |
198 def _visitUnaryOp(self, node, *args, **kwargs): | 198 def _visitUnaryOp(self, node, *args, **kwargs): |
199 node.expr = self.visit(node.expr, *args, **kwargs) | 199 node.expr = self.visit(node.expr, *args, **kwargs) |
200 return node | 200 return node |
201 visitUnaryAdd = visitUnarySub = visitNot = visitInvert = _visitUnaryOp | 201 visitUnaryAdd = visitUnarySub = visitNot = visitInvert = _visitUnaryOp |
202 visitBackquote = _visitUnaryOp | |
202 | 203 |
203 # Identifiers, Literals and Comprehensions | 204 # Identifiers, Literals and Comprehensions |
204 | 205 |
205 def _visitDefault(self, node, *args, **kwargs): | 206 def _visitDefault(self, node, *args, **kwargs): |
206 return node | 207 return node |